Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00108/0.00108, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7418, allocations: 140.4 MB / 0.9489 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004761/0.7466, allocations: 4.421 MB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.9179, allocations: 148.3 MB / 1.098 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.919, allocations: 19.88 kB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.9197, allocations: 138.9 kB / 1.098 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.9217, allocations: 453.2 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.9236, allocations: 0.7206 MB / 1.099 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.9251, allocations: 1.253 MB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008741/0.926, allocations: 0.6037 MB / 1.101 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006813/0.9266, allocations: 430.1 kB / 1.102 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.9272, allocations: 481.8 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.9273, allocations: 56 kB / 1.102 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.9283, allocations: 407.5 kB / 1.102 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.9286, allocations: 243.1 kB / 1.103 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.929, allocations: 0.4971 MB / 1.103 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.9306, allocations: 1.534 MB / 1.105 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9306, allocations: 4 kB / 1.105 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9306, allocations: 0 / 1.105 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.9306, allocations: 0 / 1.105 GB, free: 2.207 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002694/0.9333, allocations: 1.445 MB / 1.106 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9334, allocations: 12.03 kB / 1.106 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.9343, allocations: 187.3 kB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.9354, allocations: 0.7508 MB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.9355, allocations: 69.98 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9356, allocations: 88 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.9372, allocations: 0.9456 MB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.9372, allocations: 0 / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.9373, allocations: 36 kB / 1.108 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.9373, allocations: 20 kB / 1.108 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.9392, allocations: 1.128 MB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.9431, allocations: 2.543 MB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.9448, allocations: 0.9032 MB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.9454, allocations: 306.7 kB / 1.113 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.9455, allocations: 36.67 kB / 1.113 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009644/0.9464, allocations: 0.5236 MB / 1.113 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.9464, allocations: 0 / 1.113 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003356/0.9498, allocations: 1.243 MB / 1.115 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9499, allocations: 196.9 kB / 1.115 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.9507, allocations: 0.6448 MB / 1.115 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.9508, allocations: 41.7 kB / 1.116 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.9511, allocations: 404.4 kB / 1.116 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.9514, allocations: 276.1 kB / 1.116 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.9516, allocations: 170.5 kB / 1.116 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9518, allocations: 390.7 kB / 1.117 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.9524, allocations: 277.8 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.953, allocations: 375.1 kB / 1.117 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9541, allocations: 0.6203 MB / 1.118 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9542, allocations: 4 kB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002302/0.9565, allocations: 0.8722 MB / 1.119 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9565, allocations: 8.094 kB / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9565, allocations: 3.938 kB / 1.119 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.9572, allocations: 84.77 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.9579, allocations: 163.8 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.9599, allocations: 1.51 MB / 1.12 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.9607, allocations: 105.1 kB / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.9608, allocations: 39.97 kB / 1.121 GB, free: 1.312 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: 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 (99): * Single equations (assignments): 98 * 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.0004521/0.9612, allocations: 275.9 kB / 1.121 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.9614, allocations: 86.91 kB / 1.121 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.9639, allocations: 1.14 MB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9639, allocations: 12 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9639, allocations: 3.984 kB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.9639, allocations: 7.922 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.9671, allocations: 2.009 MB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9672, allocations: 3.984 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.9678, allocations: 155.7 kB / 1.124 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.9683, allocations: 80.78 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.9684, allocations: 31.97 kB / 1.124 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.9702, allocations: 1.54 MB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9702, allocations: 4.031 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.9725, allocations: 1.047 MB / 1.127 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.9729, allocations: 271.7 kB / 1.127 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.973, allocations: 31.84 kB / 1.127 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.9737, allocations: 67.92 kB / 1.127 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.9739, allocations: 76.95 kB / 1.127 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.974, allocations: 39.97 kB / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005753/0.9746, allocations: 463 kB / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9746, allocations: 0 / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009771/0.9756, allocations: 319.3 kB / 1.128 GB, free: 9.422 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: 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.001501/0.9771, allocations: 0.6154 MB / 1.129 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.9789, allocations: 0.8624 MB / 1.13 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9789, allocations: 4.188 kB / 1.13 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.9798, allocations: 0.5354 MB / 1.13 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.981, allocations: 265.7 kB / 1.13 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.9853, allocations: 2.239 MB / 1.132 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.986, allocations: 1.036 MB / 1.133 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000995/0.9871, allocations: 274.8 kB / 1.134 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.9873, allocations: 103.4 kB / 1.134 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of SimCode: time 8.82e-07/0.9874, allocations: 0 / 1.134 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of Templates: time 0.02567/1.013, allocations: 14.58 MB / 1.148 GB, free: 5.176 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches