Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001734/0.001734, allocations: 108 kB / 15.6 MB, free: 132 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.001948/0.001949, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6126, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00805/0.6207, allocations: 4.929 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.8069, allocations: 150.6 MB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.8078, allocations: 15.94 kB / 1.169 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.8087, allocations: 202.1 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.8107, allocations: 0.5669 MB / 1.17 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.8127, allocations: 0.8324 MB / 1.171 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.8142, allocations: 1.425 MB / 1.172 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.8151, allocations: 0.5882 MB / 1.173 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.8158, allocations: 0.5021 MB / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.8165, allocations: 0.5096 MB / 1.174 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.8167, allocations: 116 kB / 1.174 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.8176, allocations: 463.6 kB / 1.174 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.8179, allocations: 303 kB / 1.175 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.8185, allocations: 0.5791 MB / 1.175 GB, free: 408 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.8205, allocations: 1.62 MB / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8205, allocations: 0 / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8205, allocations: 0 / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.8205, allocations: 3.984 kB / 1.177 GB, free: 14.77 MB / 0.9356 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.002681/0.8232, allocations: 1.455 MB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.8233, allocations: 8.031 kB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.8242, allocations: 195.3 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.8253, allocations: 0.7469 MB / 1.179 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.8254, allocations: 66 kB / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.8255, allocations: 83.94 kB / 1.179 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.8272, allocations: 0.9456 MB / 1.18 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.8272, allocations: 4 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.8273, allocations: 36 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.8273, allocations: 24 kB / 1.18 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.8292, allocations: 1.12 MB / 1.181 GB, free: 9.949 MB / 0.9356 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.004252/0.8335, allocations: 2.759 MB / 1.184 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.8352, allocations: 0.9068 MB / 1.185 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.8358, allocations: 310.7 kB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.252e-05/0.8359, allocations: 36.67 kB / 1.185 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.8369, allocations: 0.5158 MB / 1.186 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.895e-06/0.8369, allocations: 0 / 1.186 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003448/0.8404, allocations: 1.255 MB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.8405, allocations: 188.9 kB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.8415, allocations: 0.6449 MB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.8416, allocations: 45.7 kB / 1.188 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.8419, allocations: 396.5 kB / 1.188 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.8422, allocations: 276 kB / 1.188 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.8425, allocations: 170.5 kB / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.8427, allocations: 386.8 kB / 1.189 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.8433, allocations: 273.8 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.844, allocations: 379.1 kB / 1.19 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8452, allocations: 0.6203 MB / 1.19 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8452, allocations: 7.938 kB / 1.19 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002103/0.8474, allocations: 0.88 MB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8474, allocations: 8 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8474, allocations: 3.938 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.848, allocations: 84.86 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.8487, allocations: 171.7 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.8513, allocations: 1.629 MB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009124/0.8522, allocations: 99.2 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.8523, allocations: 44.03 kB / 1.193 GB, free: 13.46 MB / 0.9512 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.0006187/0.8529, allocations: 271.7 kB / 1.193 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.8531, allocations: 82.97 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.8559, allocations: 1.132 MB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.8559, allocations: 15.94 kB / 1.194 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.8559, allocations: 0 / 1.194 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.856, allocations: 11.97 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.8597, allocations: 2.016 MB / 1.196 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.8597, allocations: 0 / 1.196 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.8604, allocations: 155.7 kB / 1.197 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.8609, allocations: 76.78 kB / 1.197 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.861, allocations: 27.97 kB / 1.197 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.8632, allocations: 1.658 MB / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8632, allocations: 0 / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.8656, allocations: 1.043 MB / 1.199 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.8661, allocations: 279.7 kB / 1.2 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.8662, allocations: 23.98 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.8669, allocations: 63.94 kB / 1.2 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8671, allocations: 76.89 kB / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.8672, allocations: 39.97 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006518/0.8678, allocations: 467 kB / 1.2 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8678, allocations: 0 / 1.2 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001012/0.8688, allocations: 331.2 kB / 1.201 GB, free: 5.461 MB / 0.9512 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.00197/0.8708, allocations: 0.611 MB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.8737, allocations: 1.089 MB / 1.202 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8737, allocations: 4.188 kB / 1.202 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.8748, allocations: 0.5353 MB / 1.203 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.8762, allocations: 307.3 kB / 1.203 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.8795, allocations: 1.713 MB / 1.205 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.8803, allocations: 1.041 MB / 1.206 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008744/0.8812, allocations: 266.9 kB / 1.206 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.8815, allocations: 107.4 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.8815, allocations: 8 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.02912/0.9106, allocations: 15.6 MB / 1.221 GB, free: 496 kB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches