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.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_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_latest_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.001221/0.00122, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001397/0.001397, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.884/2.884, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.765, allocations: 153.7 MB / 1.021 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004788/0.7698, allocations: 3.701 MB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.9294, allocations: 127.5 MB / 1.149 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007658/0.9302, allocations: 19.94 kB / 1.149 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.9306, allocations: 75.33 kB / 1.149 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.9322, allocations: 0.4933 MB / 1.15 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.9339, allocations: 0.6359 MB / 1.15 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.9353, allocations: 0.8415 MB / 1.151 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007289/0.936, allocations: 487.2 kB / 1.151 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.9365, allocations: 350.6 kB / 1.152 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.937, allocations: 354.2 kB / 1.152 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.9371, allocations: 28 kB / 1.152 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.9379, allocations: 307.6 kB / 1.152 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.9381, allocations: 183.2 kB / 1.153 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.9383, allocations: 209.1 kB / 1.153 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.9396, allocations: 1.169 MB / 1.154 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9397, allocations: 4 kB / 1.154 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.966e-06/0.9397, allocations: 0 / 1.154 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.9397, allocations: 3.938 kB / 1.154 GB, free: 8.48 MB / 0.9044 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.002339/0.942, allocations: 1.241 MB / 1.155 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9421, allocations: 15.98 kB / 1.155 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.943, allocations: 202.4 kB / 1.155 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.9443, allocations: 0.7272 MB / 1.156 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.9444, allocations: 66 kB / 1.156 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.9445, allocations: 84 kB / 1.156 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.946, allocations: 0.9339 MB / 1.157 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.946, allocations: 0 / 1.157 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/0.9461, allocations: 39.98 kB / 1.157 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.9462, allocations: 24 kB / 1.157 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.9479, allocations: 1.124 MB / 1.158 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.9521, allocations: 2.572 MB / 1.161 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.9537, allocations: 0.9149 MB / 1.162 GB, free: 336 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.808e-05/0.9538, allocations: 32.69 kB / 1.162 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/0.9547, allocations: 0.5176 MB / 1.162 GB, free: 15.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.9547, allocations: 0 / 1.162 GB, free: 15.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=84): time 0.003305/0.958, allocations: 1.256 MB / 1.163 GB, free: 14.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.9582, allocations: 192.9 kB / 1.164 GB, free: 14.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/0.9592, allocations: 0.6371 MB / 1.164 GB, free: 13.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.9593, allocations: 45.7 kB / 1.164 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.9598, allocations: 396.5 kB / 1.165 GB, free: 13.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.9602, allocations: 272 kB / 1.165 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.9602, allocations: 16 kB / 1.165 GB, free: 12.87 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.9605, allocations: 386.8 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.9611, allocations: 257.9 kB / 1.166 GB, free: 12.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.9617, allocations: 366.5 kB / 1.166 GB, free: 11.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.9623, allocations: 306.8 kB / 1.166 GB, free: 11.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.9623, allocations: 0 / 1.166 GB, free: 11.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00188/0.9642, allocations: 0.8331 MB / 1.167 GB, free: 10.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9642, allocations: 12.09 kB / 1.167 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.9642, allocations: 0 / 1.167 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.9648, allocations: 80.77 kB / 1.167 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.9655, allocations: 163.8 kB / 1.167 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.9678, allocations: 1.529 MB / 1.169 GB, free: 8.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.9685, allocations: 99.36 kB / 1.169 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.9686, allocations: 31.97 kB / 1.169 GB, free: 8.656 MB / 0.92 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000513/0.9691, allocations: 273.4 kB / 1.169 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.9693, allocations: 90.91 kB / 1.169 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.9718, allocations: 1.147 MB / 1.17 GB, free: 7.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9718, allocations: 12 kB / 1.17 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.9718, allocations: 0 / 1.17 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.9718, allocations: 15.95 kB / 1.17 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.9752, allocations: 2.021 MB / 1.172 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.9752, allocations: 3.984 kB / 1.172 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.9758, allocations: 159.8 kB / 1.173 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/0.9763, allocations: 80.78 kB / 1.173 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.9764, allocations: 27.97 kB / 1.173 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.9785, allocations: 1.555 MB / 1.174 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9785, allocations: 0 / 1.174 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.9804, allocations: 1.047 MB / 1.175 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.9809, allocations: 303.5 kB / 1.175 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.981, allocations: 20 kB / 1.176 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.9817, allocations: 87.92 kB / 1.176 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.9819, allocations: 76.89 kB / 1.176 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.982, allocations: 35.97 kB / 1.176 GB, free: 1.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005982/0.9826, allocations: 459 kB / 1.176 GB, free: 1.008 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9826, allocations: 0 / 1.176 GB, free: 1.008 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001084/0.9837, allocations: 319.2 kB / 1.176 GB, free: 0.6953 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.9852, allocations: 0.6066 MB / 1.177 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.9871, allocations: 0.8315 MB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9871, allocations: 3.906 kB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.9881, allocations: 0.5392 MB / 1.178 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.9892, allocations: 248.1 kB / 1.179 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.9939, allocations: 2.244 MB / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.9947, allocations: 1.055 MB / 1.182 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009167/0.9956, allocations: 274.8 kB / 1.182 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.9959, allocations: 111.4 kB / 1.182 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of SimCode: time 9.42e-07/0.9959, allocations: 0 / 1.182 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.02601/1.022, allocations: 14.04 MB / 1.196 GB, free: 13.01 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches