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.001711/0.001717, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002045/0.002045, allocations: 190.5 kB / 16.14 MB, free: 6.629 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.817/2.817, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5987, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006886/0.6057, allocations: 4.939 MB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.7831, allocations: 148.3 MB / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009154/0.784, allocations: 11.94 kB / 1.166 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.7847, allocations: 146.8 kB / 1.166 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.7865, allocations: 494 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.7884, allocations: 0.7365 MB / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.7901, allocations: 1.323 MB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009092/0.791, allocations: 0.5767 MB / 1.169 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.7917, allocations: 446.1 kB / 1.17 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005702/0.7922, allocations: 489.7 kB / 1.17 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.7924, allocations: 64 kB / 1.17 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.7933, allocations: 399.6 kB / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.7936, allocations: 239.1 kB / 1.171 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000527/0.7941, allocations: 0.5127 MB / 1.172 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.7958, allocations: 1.569 MB / 1.173 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7958, allocations: 0 / 1.173 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.366e-06/0.7958, allocations: 0 / 1.173 GB, free: 1.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.7959, allocations: 3.938 kB / 1.173 GB, free: 1.973 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.003096/0.799, allocations: 1.459 MB / 1.175 GB, free: 464 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.799, allocations: 8.031 kB / 1.175 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.8, allocations: 183.4 kB / 1.175 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.8012, allocations: 0.7585 MB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.8013, allocations: 69.94 kB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8014, allocations: 84 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.8032, allocations: 0.9379 MB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.8032, allocations: 4 kB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.8033, allocations: 39.98 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.8033, allocations: 23.98 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.8053, allocations: 1.12 MB / 1.178 GB, free: 13.15 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.004467/0.8098, allocations: 2.751 MB / 1.18 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.8116, allocations: 0.9006 MB / 1.181 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.8122, allocations: 310.8 kB / 1.182 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.904e-05/0.8123, allocations: 40.59 kB / 1.182 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.8134, allocations: 0.5159 MB / 1.182 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.8134, allocations: 0 / 1.182 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003495/0.8169, allocations: 1.251 MB / 1.183 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.8171, allocations: 188.9 kB / 1.183 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.818, allocations: 0.6565 MB / 1.184 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.8181, allocations: 41.7 kB / 1.184 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.8184, allocations: 396.5 kB / 1.185 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.8187, allocations: 268.1 kB / 1.185 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.819, allocations: 170.5 kB / 1.185 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.8192, allocations: 390.8 kB / 1.185 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.8198, allocations: 281.8 kB / 1.186 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.8205, allocations: 379.1 kB / 1.186 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.8218, allocations: 0.6203 MB / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8218, allocations: 4 kB / 1.187 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002177/0.824, allocations: 0.8799 MB / 1.187 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.824, allocations: 4 kB / 1.187 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8241, allocations: 7.922 kB / 1.187 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.8247, allocations: 80.88 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.8255, allocations: 175.8 kB / 1.188 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.8279, allocations: 1.52 MB / 1.189 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.8288, allocations: 97.7 kB / 1.189 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.8289, allocations: 39.91 kB / 1.189 GB, free: 0.793 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 (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.0004994/0.8294, allocations: 280.7 kB / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.8296, allocations: 86.97 kB / 1.19 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.8323, allocations: 1.136 MB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8324, allocations: 12 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8324, allocations: 0 / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.8324, allocations: 7.922 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.8361, allocations: 2.008 MB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8361, allocations: 3.984 kB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.8368, allocations: 159.7 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.8373, allocations: 76.78 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.8374, allocations: 35.97 kB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.8395, allocations: 1.536 MB / 1.194 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.8396, allocations: 8.016 kB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.8419, allocations: 1.047 MB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.8424, allocations: 275.7 kB / 1.196 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.8426, allocations: 31.94 kB / 1.196 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.8433, allocations: 63.92 kB / 1.196 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.8435, allocations: 76.89 kB / 1.196 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.8436, allocations: 35.97 kB / 1.196 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007187/0.8444, allocations: 463 kB / 1.196 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8444, allocations: 8 kB / 1.196 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001037/0.8454, allocations: 331.2 kB / 1.197 GB, free: 8.883 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.002123/0.8476, allocations: 0.613 MB / 1.197 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.8496, allocations: 0.8626 MB / 1.198 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.8496, allocations: 0 / 1.198 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.8507, allocations: 0.5353 MB / 1.199 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.852, allocations: 276.1 kB / 1.199 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.8558, allocations: 2.118 MB / 1.201 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.8567, allocations: 1.039 MB / 1.202 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009586/0.8576, allocations: 278.8 kB / 1.202 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.858, allocations: 111.4 kB / 1.202 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.858, allocations: 0 / 1.202 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of Templates: time 0.02999/0.888, allocations: 14.93 MB / 1.217 GB, free: 4.398 MB / 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