Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 184 kB / 16.92 MB, free: 6.684 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 10.31 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006013/0.3224, allocations: 4.521 MB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.4881, allocations: 146.7 MB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.4892, allocations: 11.94 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008209/0.49, allocations: 154.8 kB / 1.207 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4924, allocations: 490.8 kB / 1.208 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.4946, allocations: 0.7462 MB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.4965, allocations: 1.331 MB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4976, allocations: 0.5596 MB / 1.21 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007599/0.4983, allocations: 378.2 kB / 1.211 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.499, allocations: 405.8 kB / 1.211 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4991, allocations: 28 kB / 1.211 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.5, allocations: 363.6 kB / 1.211 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.5002, allocations: 195 kB / 1.212 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.5007, allocations: 486.8 kB / 1.212 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.5021, allocations: 1.2 MB / 1.213 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5021, allocations: 0 / 1.213 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5021, allocations: 0 / 1.213 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.5021, allocations: 0 / 1.213 GB, free: 6.84 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002458/0.5046, allocations: 1.253 MB / 1.214 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5046, allocations: 11.97 kB / 1.214 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.5056, allocations: 203.4 kB / 1.215 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5067, allocations: 0.7546 MB / 1.215 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.5068, allocations: 69.98 kB / 1.215 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5069, allocations: 80 kB / 1.215 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.5085, allocations: 0.9495 MB / 1.216 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5085, allocations: 0 / 1.216 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/0.5086, allocations: 36 kB / 1.216 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.5087, allocations: 24 kB / 1.216 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5105, allocations: 1.139 MB / 1.218 GB, free: 2.188 MB / 0.9669 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.004297/0.5148, allocations: 2.792 MB / 1.22 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5164, allocations: 0.9199 MB / 1.221 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.517, allocations: 322.7 kB / 1.222 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.5171, allocations: 36.67 kB / 1.222 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000935/0.518, allocations: 0.5197 MB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 5.651e-06/0.518, allocations: 0 / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00342/0.5214, allocations: 1.278 MB / 1.223 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5216, allocations: 192.9 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.5226, allocations: 0.6449 MB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.5227, allocations: 41.7 kB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.5231, allocations: 400.4 kB / 1.225 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.5234, allocations: 276 kB / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.5235, allocations: 77.67 kB / 1.225 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5237, allocations: 386.8 kB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.5243, allocations: 281.8 kB / 1.226 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.5249, allocations: 388 kB / 1.226 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5261, allocations: 0.6407 MB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5261, allocations: 0 / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002134/0.5283, allocations: 0.8956 MB / 1.227 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5283, allocations: 9.656 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5283, allocations: 0 / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.529, allocations: 84.91 kB / 1.227 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.5297, allocations: 179.7 kB / 1.228 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.5319, allocations: 1.524 MB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.5328, allocations: 111.3 kB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.5329, allocations: 48.03 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0004976/0.5334, allocations: 271.7 kB / 1.23 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.5336, allocations: 86.97 kB / 1.23 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.5363, allocations: 1.152 MB / 1.231 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5363, allocations: 12 kB / 1.231 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5363, allocations: 0 / 1.231 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.5363, allocations: 7.922 kB / 1.231 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.5399, allocations: 2.025 MB / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5399, allocations: 0 / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.5406, allocations: 155.8 kB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.5411, allocations: 84.77 kB / 1.233 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.5412, allocations: 27.98 kB / 1.233 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.543, allocations: 1.567 MB / 1.235 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5431, allocations: 0 / 1.235 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.5452, allocations: 1.051 MB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.5457, allocations: 291.8 kB / 1.236 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.5459, allocations: 23.92 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.5467, allocations: 100 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.5469, allocations: 84.81 kB / 1.236 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.547, allocations: 39.97 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006557/0.5476, allocations: 463 kB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5476, allocations: 0 / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009711/0.5486, allocations: 327.3 kB / 1.237 GB, free: 13.75 MB / 0.9981 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 (100): * Single equations (assignments): 93 * 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.0015/0.5501, allocations: 0.5982 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.5521, allocations: 0.8782 MB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5521, allocations: 0 / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5531, allocations: 0.5432 MB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5548, allocations: 285.9 kB / 1.239 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.5586, allocations: 2.207 MB / 1.241 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.5593, allocations: 1.036 MB / 1.242 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.5597, allocations: 123.4 kB / 1.242 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.5597, allocations: 0 / 1.242 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of Templates: time 0.5704/1.13, allocations: 18.84 MB / 1.261 GB, free: 184.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches