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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001132/0.001132, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001469/0.001469, allocations: 172.7 kB / 15.95 MB, free: 208 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003336, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6248, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005155/0.63, allocations: 4.266 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.7772, allocations: 136.8 MB / 1.16 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.778, allocations: 15.94 kB / 1.16 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.7786, allocations: 138.8 kB / 1.16 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.7803, allocations: 478.8 kB / 1.161 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.7821, allocations: 0.6308 MB / 1.161 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.7837, allocations: 1.241 MB / 1.163 GB, free: 44 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.7846, allocations: 447.8 kB / 1.163 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.7853, allocations: 362.4 kB / 1.163 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.7859, allocations: 390.1 kB / 1.164 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.786, allocations: 28 kB / 1.164 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.7869, allocations: 339.6 kB / 1.164 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.7872, allocations: 187.2 kB / 1.164 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.7875, allocations: 205.1 kB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.7889, allocations: 1.188 MB / 1.166 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7889, allocations: 0 / 1.166 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7889, allocations: 0 / 1.166 GB, free: 12.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.6e-05/0.7889, allocations: 3.938 kB / 1.166 GB, free: 12.91 MB / 0.92 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.002594/0.7915, allocations: 1.265 MB / 1.167 GB, free: 11.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7916, allocations: 12.56 kB / 1.167 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.7926, allocations: 194.5 kB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.7939, allocations: 0.7272 MB / 1.168 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.7939, allocations: 69.98 kB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.7941, allocations: 80 kB / 1.168 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.7959, allocations: 0.9456 MB / 1.169 GB, free: 9.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.7959, allocations: 0 / 1.169 GB, free: 9.484 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.796, allocations: 36 kB / 1.169 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.796, allocations: 20 kB / 1.169 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.7979, allocations: 1.128 MB / 1.17 GB, free: 8.301 MB / 0.92 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.004532/0.8024, allocations: 2.788 MB / 1.173 GB, free: 5.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.8041, allocations: 0.9071 MB / 1.174 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.8047, allocations: 310.7 kB / 1.174 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/0.8048, allocations: 34.41 kB / 1.174 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000942/0.8057, allocations: 0.5235 MB / 1.174 GB, free: 3.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/0.8058, allocations: 0 / 1.174 GB, free: 3.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=84): time 0.003193/0.8089, allocations: 1.267 MB / 1.176 GB, free: 2.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.8091, allocations: 200.9 kB / 1.176 GB, free: 2.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.8099, allocations: 0.6255 MB / 1.177 GB, free: 1.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.81, allocations: 45.7 kB / 1.177 GB, free: 1.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.8103, allocations: 400.4 kB / 1.177 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8106, allocations: 268.1 kB / 1.177 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.8106, allocations: 16 kB / 1.177 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8108, allocations: 386.8 kB / 1.178 GB, free: 308 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.8114, allocations: 281.8 kB / 1.178 GB, free: 28 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.812, allocations: 375.1 kB / 1.178 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.8127, allocations: 310.9 kB / 1.178 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8127, allocations: 0 / 1.178 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001916/0.8146, allocations: 0.8839 MB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8146, allocations: 7.984 kB / 1.179 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8146, allocations: 4.094 kB / 1.179 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.8152, allocations: 84.77 kB / 1.179 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.8159, allocations: 171.7 kB / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.8179, allocations: 1.539 MB / 1.181 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.8188, allocations: 101 kB / 1.181 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.8189, allocations: 39.97 kB / 1.181 GB, free: 12.37 MB / 0.9356 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0005097/0.8194, allocations: 279.7 kB / 1.182 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.8196, allocations: 86.92 kB / 1.182 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.8221, allocations: 1.151 MB / 1.183 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8222, allocations: 12 kB / 1.183 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.8222, allocations: 4 kB / 1.183 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.8222, allocations: 3.984 kB / 1.183 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.8255, allocations: 2.02 MB / 1.185 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8256, allocations: 7.953 kB / 1.185 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.8262, allocations: 151.8 kB / 1.185 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/0.8267, allocations: 84.77 kB / 1.185 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.8268, allocations: 27.98 kB / 1.185 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.8285, allocations: 1.536 MB / 1.186 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8285, allocations: 0 / 1.186 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.8305, allocations: 1.055 MB / 1.188 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.831, allocations: 295.5 kB / 1.188 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.8311, allocations: 23.98 kB / 1.188 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.8319, allocations: 83.94 kB / 1.188 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.832, allocations: 80.88 kB / 1.188 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.8321, allocations: 39.91 kB / 1.188 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005921/0.8327, allocations: 459 kB / 1.188 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8327, allocations: 0 / 1.188 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009574/0.8337, allocations: 327.3 kB / 1.189 GB, free: 4.422 MB / 0.9356 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.001397/0.8351, allocations: 0.6035 MB / 1.189 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.8368, allocations: 0.8665 MB / 1.19 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8368, allocations: 0 / 1.19 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/0.8378, allocations: 0.5431 MB / 1.191 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.8391, allocations: 273 kB / 1.191 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.8424, allocations: 2.09 MB / 1.193 GB, free: 188 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.8431, allocations: 1.036 MB / 1.194 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009334/0.844, allocations: 278.8 kB / 1.194 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.8443, allocations: 111.4 kB / 1.194 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of SimCode: time 6.11e-07/0.8444, allocations: 0 / 1.194 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.02493/0.8693, allocations: 14.37 MB / 1.208 GB, free: 0.5312 MB / 0.9512 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=480 -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