Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001828/0.001828, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 64.75 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00594/0.2438, allocations: 4.318 MB / 0.9553 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6152/0.859, allocations: 150.5 MB / 1.102 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.8597, allocations: 16.91 kB / 1.102 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.8603, allocations: 171.9 kB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.8617, allocations: 0.4975 MB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.8637, allocations: 0.8349 MB / 1.104 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8651, allocations: 1.303 MB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.866, allocations: 0.6262 MB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.8667, allocations: 478.5 kB / 1.106 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.8674, allocations: 494.5 kB / 1.107 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.8676, allocations: 117.3 kB / 1.107 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.8686, allocations: 488.8 kB / 1.107 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.8689, allocations: 292.7 kB / 1.107 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.8695, allocations: 0.5406 MB / 1.108 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.8717, allocations: 1.621 MB / 1.11 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8717, allocations: 1.094 kB / 1.11 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8717, allocations: 0 / 1.11 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.8717, allocations: 1.156 kB / 1.11 GB, free: 4.234 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002736/0.8745, allocations: 1.405 MB / 1.111 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8745, allocations: 9.531 kB / 1.111 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.8754, allocations: 180.9 kB / 1.111 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.8766, allocations: 0.76 MB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.8767, allocations: 68.28 kB / 1.112 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.8768, allocations: 83.44 kB / 1.112 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.8783, allocations: 0.9179 MB / 1.113 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.8784, allocations: 1.094 kB / 1.113 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/0.8785, allocations: 35.98 kB / 1.113 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.8785, allocations: 20.69 kB / 1.113 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.8803, allocations: 1.109 MB / 1.114 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.8842, allocations: 2.482 MB / 1.117 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.8857, allocations: 0.8873 MB / 1.117 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.8862, allocations: 303 kB / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.8863, allocations: 39.7 kB / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.8871, allocations: 497.3 kB / 1.118 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.364e-06/0.8871, allocations: 0 / 1.118 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003039/0.8902, allocations: 1.189 MB / 1.119 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.8903, allocations: 196.7 kB / 1.12 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.8911, allocations: 0.6244 MB / 1.12 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.8912, allocations: 41.89 kB / 1.12 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.8914, allocations: 396.3 kB / 1.121 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.8916, allocations: 256.2 kB / 1.121 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8919, allocations: 160.2 kB / 1.121 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8921, allocations: 392.9 kB / 1.121 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.8926, allocations: 265.6 kB / 1.122 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.8932, allocations: 367.3 kB / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.8942, allocations: 0.6007 MB / 1.123 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8942, allocations: 0 / 1.123 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001933/0.8961, allocations: 0.8541 MB / 1.123 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8962, allocations: 7.203 kB / 1.123 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8962, allocations: 1.25 kB / 1.123 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.8968, allocations: 82.22 kB / 1.123 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.8974, allocations: 157.8 kB / 1.124 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.8994, allocations: 1.652 MB / 1.125 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.9001, allocations: 84.11 kB / 1.125 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.9002, allocations: 36.17 kB / 1.125 GB, free: 14.92 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005103/0.9007, allocations: 276.2 kB / 1.126 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.9009, allocations: 87.14 kB / 1.126 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.9032, allocations: 1.056 MB / 1.127 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.9032, allocations: 8.594 kB / 1.127 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9032, allocations: 1.344 kB / 1.127 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.9032, allocations: 8.297 kB / 1.127 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.9064, allocations: 1.948 MB / 1.129 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.9064, allocations: 0 / 1.129 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.907, allocations: 142.7 kB / 1.129 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004209/0.9074, allocations: 77.67 kB / 1.129 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.9075, allocations: 25.61 kB / 1.129 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.9093, allocations: 1.674 MB / 1.13 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9094, allocations: 4.969 kB / 1.13 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.9113, allocations: 0.9963 MB / 1.131 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.9118, allocations: 270.3 kB / 1.132 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.9119, allocations: 22.75 kB / 1.132 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.9125, allocations: 65.72 kB / 1.132 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.9127, allocations: 66.7 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.9128, allocations: 39.11 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006405/0.9134, allocations: 452.3 kB / 1.132 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9134, allocations: 0 / 1.132 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001031/0.9145, allocations: 304.4 kB / 1.133 GB, free: 12.32 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001397/0.9159, allocations: 0.6141 MB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.9176, allocations: 0.8338 MB / 1.134 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9177, allocations: 0 / 1.134 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.9185, allocations: 0.514 MB / 1.135 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.9197, allocations: 293.2 kB / 1.135 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.9234, allocations: 1.735 MB / 1.137 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.924, allocations: 1.019 MB / 1.138 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008667/0.9249, allocations: 254.8 kB / 1.138 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.9252, allocations: 100.8 kB / 1.138 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.9252, allocations: 0 / 1.138 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.02532/0.9505, allocations: 14.73 MB / 1.152 GB, free: 6.246 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches