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.001232/0.001232, 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.00162/0.00162, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.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.363/2.363, allocations: 390.9 MB / 0.667 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7023, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004065/0.7064, allocations: 3.908 MB / 0.9595 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.8686, allocations: 146.6 MB / 1.103 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/0.8696, allocations: 19.88 kB / 1.103 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007077/0.8703, allocations: 142.9 kB / 1.103 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.8721, allocations: 427.2 kB / 1.103 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.8741, allocations: 0.7198 MB / 1.104 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.8758, allocations: 1.207 MB / 1.105 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.8769, allocations: 0.5956 MB / 1.106 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007434/0.8777, allocations: 338.4 kB / 1.106 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.8784, allocations: 365.9 kB / 1.106 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.8785, allocations: 24 kB / 1.106 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009853/0.8795, allocations: 367.6 kB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.8799, allocations: 191.1 kB / 1.107 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.8804, allocations: 458.8 kB / 1.107 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.882, allocations: 1.161 MB / 1.109 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.882, allocations: 0 / 1.109 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.882, allocations: 0 / 1.109 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.882, allocations: 0 / 1.109 GB, free: 2.293 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.00241/0.8845, allocations: 1.208 MB / 1.11 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8845, allocations: 8.031 kB / 1.11 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/0.8855, allocations: 195.4 kB / 1.11 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.8866, allocations: 0.7383 MB / 1.111 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.8867, allocations: 62.05 kB / 1.111 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8868, allocations: 80 kB / 1.111 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.8885, allocations: 0.9339 MB / 1.112 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.8886, allocations: 0 / 1.112 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.8886, allocations: 32 kB / 1.112 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.8887, allocations: 24 kB / 1.112 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.8905, allocations: 1.116 MB / 1.113 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.895, allocations: 2.557 MB / 1.115 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.8968, allocations: 0.8987 MB / 1.116 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.8973, allocations: 310.7 kB / 1.117 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/0.8974, allocations: 28.61 kB / 1.117 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009339/0.8984, allocations: 495.2 kB / 1.117 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.597e-06/0.8984, allocations: 4 kB / 1.117 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003124/0.9015, allocations: 1.205 MB / 1.118 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.9016, allocations: 192.6 kB / 1.118 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.9025, allocations: 0.6253 MB / 1.119 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.9026, allocations: 41.7 kB / 1.119 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.903, allocations: 396.3 kB / 1.119 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.9032, allocations: 256.3 kB / 1.12 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.9033, allocations: 73.61 kB / 1.12 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9035, allocations: 394.6 kB / 1.12 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.904, allocations: 269.9 kB / 1.12 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.9046, allocations: 367.1 kB / 1.121 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9058, allocations: 0.6151 MB / 1.121 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.9058, allocations: 0 / 1.121 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002041/0.9078, allocations: 0.8528 MB / 1.122 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9079, allocations: 8 kB / 1.122 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9079, allocations: 4 kB / 1.122 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.9085, allocations: 88.75 kB / 1.122 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.9091, allocations: 159.8 kB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.9113, allocations: 1.532 MB / 1.124 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.9121, allocations: 99.39 kB / 1.124 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.9123, allocations: 39.97 kB / 1.124 GB, free: 1.918 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.000548/0.9128, allocations: 275.3 kB / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.913, allocations: 83 kB / 1.124 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.9155, allocations: 1.073 MB / 1.125 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.9155, allocations: 8 kB / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9155, allocations: 0 / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.9155, allocations: 3.984 kB / 1.125 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.9191, allocations: 1.957 MB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9191, allocations: 0 / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.9197, allocations: 147.8 kB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.9202, allocations: 88.77 kB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.9203, allocations: 23.98 kB / 1.128 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.9221, allocations: 1.556 MB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9221, allocations: 0 / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.9241, allocations: 1.004 MB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.9246, allocations: 291.7 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.9248, allocations: 16 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.9255, allocations: 80.48 kB / 1.13 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9256, allocations: 68.89 kB / 1.13 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.9257, allocations: 39.97 kB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006489/0.9264, allocations: 451 kB / 1.131 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9264, allocations: 0 / 1.131 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009214/0.9273, allocations: 307.2 kB / 1.131 GB, free: 10.23 MB / 0.8887 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.001441/0.9287, allocations: 0.6173 MB / 1.132 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.9306, allocations: 0.8392 MB / 1.133 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9306, allocations: 0 / 1.133 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009806/0.9316, allocations: 0.5197 MB / 1.133 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.933, allocations: 262.6 kB / 1.133 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.9374, allocations: 2.247 MB / 1.136 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.9381, allocations: 1.02 MB / 1.137 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.9385, allocations: 111.3 kB / 1.137 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of SimCode: time 7.72e-07/0.9385, allocations: 0 / 1.137 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of Templates: time 0.02649/0.965, allocations: 18.22 MB / 1.155 GB, free: 2.535 MB / 0.9044 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 -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