Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007474/0.007474, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.976/2.976, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 59.91 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007326/0.3887, allocations: 4.931 MB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8409/1.23, allocations: 150.6 MB / 1.359 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/1.231, allocations: 16.44 kB / 1.359 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/1.232, allocations: 188.2 kB / 1.359 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/1.236, allocations: 0.5549 MB / 1.36 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.239, allocations: 0.8565 MB / 1.361 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002267/1.242, allocations: 1.423 MB / 1.362 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/1.243, allocations: 0.5871 MB / 1.363 GB, free: 7.449 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/1.244, allocations: 0.5042 MB / 1.363 GB, free: 7.199 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/1.245, allocations: 0.5153 MB / 1.364 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000352/1.245, allocations: 119.1 kB / 1.364 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/1.247, allocations: 492.6 kB / 1.364 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/1.247, allocations: 301.5 kB / 1.365 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/1.248, allocations: 0.5752 MB / 1.365 GB, free: 6.242 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/1.251, allocations: 1.663 MB / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.251, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.251, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.26e-05/1.251, allocations: 5.125 kB / 1.367 GB, free: 5.535 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003728/1.255, allocations: 1.467 MB / 1.368 GB, free: 4.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.255, allocations: 10.19 kB / 1.368 GB, free: 4.543 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/1.255, allocations: 140.1 kB / 1.368 GB, free: 4.449 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.256, allocations: 192.3 kB / 1.369 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.258, allocations: 0.7716 MB / 1.369 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/1.258, allocations: 65.69 kB / 1.369 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.258, allocations: 84.53 kB / 1.369 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.26, allocations: 0.9402 MB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.26, allocations: 1 kB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/1.26, allocations: 36.78 kB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/1.26, allocations: 20.59 kB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/1.262, allocations: 1.126 MB / 1.372 GB, free: 3.043 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/1.267, allocations: 2.724 MB / 1.374 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/1.268, allocations: 0.9048 MB / 1.375 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/1.269, allocations: 310.9 kB / 1.375 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/1.269, allocations: 32.23 kB / 1.375 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009799/1.27, allocations: 0.5228 MB / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 3.476e-06/1.27, allocations: 0 / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.003527/1.274, allocations: 1.252 MB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.274, allocations: 189.9 kB / 1.377 GB, free: 14.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/1.275, allocations: 0.6358 MB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/1.275, allocations: 46.81 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/1.275, allocations: 397.5 kB / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.275, allocations: 270 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.276, allocations: 154 kB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.276, allocations: 401.2 kB / 1.379 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/1.276, allocations: 258.5 kB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/1.277, allocations: 365.4 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.278, allocations: 0.6076 MB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.278, allocations: 1 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002133/1.28, allocations: 0.8291 MB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.281, allocations: 5 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.281, allocations: 9.344 kB / 1.381 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/1.281, allocations: 80.64 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/1.282, allocations: 164.8 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.284, allocations: 1.631 MB / 1.383 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/1.285, allocations: 91.94 kB / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/1.285, allocations: 32 kB / 1.383 GB, free: 10.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005621/1.286, allocations: 268.1 kB / 1.383 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.286, allocations: 83.38 kB / 1.383 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/1.288, allocations: 1.141 MB / 1.385 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.288, allocations: 14.72 kB / 1.385 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.288, allocations: 0 / 1.385 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.289, allocations: 3.984 kB / 1.385 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/1.292, allocations: 2.02 MB / 1.387 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.292, allocations: 0 / 1.387 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/1.293, allocations: 154.3 kB / 1.387 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.293, allocations: 70.17 kB / 1.387 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/1.294, allocations: 32.81 kB / 1.387 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.296, allocations: 1.659 MB / 1.388 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.296, allocations: 0 / 1.388 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/1.298, allocations: 1.045 MB / 1.389 GB, free: 6.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/1.299, allocations: 286 kB / 1.39 GB, free: 5.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/1.299, allocations: 18.75 kB / 1.39 GB, free: 5.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/1.3, allocations: 68.72 kB / 1.39 GB, free: 5.773 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/1.3, allocations: 81.94 kB / 1.39 GB, free: 5.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/1.3, allocations: 38.2 kB / 1.39 GB, free: 5.719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008405/1.301, allocations: 470.9 kB / 1.39 GB, free: 5.445 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.301, allocations: 2.375 kB / 1.39 GB, free: 5.445 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001289/1.302, allocations: 318.6 kB / 1.391 GB, free: 5.359 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003913/1.306, allocations: 2.099 MB / 1.393 GB, free: 4.055 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001849/1.308, allocations: 0.8358 MB / 1.393 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.308, allocations: 0 / 1.393 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.309, allocations: 0.5417 MB / 1.394 GB, free: 3.312 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.311, allocations: 308.1 kB / 1.394 GB, free: 3.156 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.322, allocations: 6.373 MB / 1.401 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.322, allocations: 1.037 MB / 1.402 GB, free: 14.38 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008992/1.323, allocations: 265.6 kB / 1.402 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/1.324, allocations: 410.2 kB / 1.402 GB, free: 13.92 MB / 1.092 GB Notification: Performance of SimCode: time 8.91e-07/1.324, allocations: 4 kB / 1.402 GB, free: 13.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/1.398, allocations: 22.7 MB / 1.424 GB, free: 8.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.31, allocations: 11.73 kB / 1.424 GB, free: 8.309 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches