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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001567/0.001567, allocations: 104 kB / 15.6 MB, free: 148 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.001731/0.001731, allocations: 193.9 kB / 16.53 MB, free: 6.617 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 482.6 MB / 0.7549 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 61 kB / 0.9241 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3341, allocations: 162.3 MB / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007792/0.3419, allocations: 4.922 MB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.194/0.5359, allocations: 150.6 MB / 1.234 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.5369, allocations: 19.88 kB / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.5375, allocations: 190.2 kB / 1.235 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.5394, allocations: 0.5628 MB / 1.235 GB, free: 4 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.5414, allocations: 0.8402 MB / 1.236 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.543, allocations: 1.409 MB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.5439, allocations: 0.591 MB / 1.238 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/0.5446, allocations: 0.4943 MB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.5452, allocations: 0.5135 MB / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.5454, allocations: 123.9 kB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.5464, allocations: 459.6 kB / 1.24 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.5468, allocations: 303.1 kB / 1.24 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.5474, allocations: 0.5752 MB / 1.24 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.5493, allocations: 1.616 MB / 1.242 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5493, allocations: 4 kB / 1.242 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5493, allocations: 0 / 1.242 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.5493, allocations: 0 / 1.242 GB, free: 9.059 MB / 0.9981 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.002713/0.552, allocations: 1.458 MB / 1.243 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5521, allocations: 12.03 kB / 1.243 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5531, allocations: 187.4 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.5543, allocations: 0.7624 MB / 1.244 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.5543, allocations: 62 kB / 1.244 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5545, allocations: 84 kB / 1.244 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5561, allocations: 0.9417 MB / 1.245 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5561, allocations: 11.92 kB / 1.245 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.5562, allocations: 36 kB / 1.245 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5562, allocations: 20 kB / 1.245 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5581, allocations: 1.128 MB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.5624, allocations: 2.794 MB / 1.249 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.564, allocations: 0.9148 MB / 1.25 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.5646, allocations: 317.2 kB / 1.25 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.5647, allocations: 28.67 kB / 1.251 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6019/1.167, allocations: 0.5096 MB / 1.251 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/1.167, allocations: 0 / 1.251 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003817/1.17, allocations: 1.251 MB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/1.171, allocations: 196.5 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.172, allocations: 0.6496 MB / 1.253 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/1.172, allocations: 44.53 kB / 1.253 GB, free: 173 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/1.172, allocations: 397.5 kB / 1.253 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/1.172, allocations: 269.7 kB / 1.254 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.173, allocations: 174.9 kB / 1.254 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.173, allocations: 390.8 kB / 1.254 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/1.174, allocations: 276.2 kB / 1.255 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/1.174, allocations: 372.8 kB / 1.255 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.176, allocations: 0.6253 MB / 1.255 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.176, allocations: 0 / 1.255 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002345/1.178, allocations: 0.8796 MB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/1.178, allocations: 6.625 kB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.178, allocations: 1.297 kB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/1.179, allocations: 84.59 kB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/1.179, allocations: 175.2 kB / 1.257 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.182, allocations: 1.623 MB / 1.258 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/1.182, allocations: 95.97 kB / 1.258 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/1.182, allocations: 39.92 kB / 1.258 GB, free: 169.7 MB / 0.9981 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.0005055/1.183, allocations: 282.1 kB / 1.259 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/1.183, allocations: 83.5 kB / 1.259 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.186, allocations: 1.134 MB / 1.26 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.186, allocations: 11.86 kB / 1.26 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.186, allocations: 4.906 kB / 1.26 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.186, allocations: 5.562 kB / 1.26 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/1.19, allocations: 2.017 MB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.19, allocations: 0 / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/1.19, allocations: 150.2 kB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/1.191, allocations: 77.72 kB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/1.191, allocations: 28.52 kB / 1.262 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/1.192, allocations: 1.654 MB / 1.264 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.192, allocations: 0 / 1.264 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/1.194, allocations: 1.052 MB / 1.265 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/1.195, allocations: 279.6 kB / 1.265 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.195, allocations: 27.94 kB / 1.265 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/1.196, allocations: 65.72 kB / 1.265 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.196, allocations: 77.52 kB / 1.265 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/1.196, allocations: 39.39 kB / 1.265 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006044/1.196, allocations: 463 kB / 1.266 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.196, allocations: 7.938 kB / 1.266 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001015/1.198, allocations: 325 kB / 1.266 GB, free: 165.5 MB / 0.9981 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.001875/1.199, allocations: 0.612 MB / 1.266 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.202, allocations: 1.084 MB / 1.268 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.202, allocations: 0 / 1.268 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009302/1.203, allocations: 0.5345 MB / 1.268 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.204, allocations: 310.4 kB / 1.268 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/1.207, allocations: 1.718 MB / 1.27 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/1.208, allocations: 1.034 MB / 1.271 GB, free: 163 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009286/1.209, allocations: 278 kB / 1.271 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/1.209, allocations: 114.3 kB / 1.271 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.209, allocations: 0 / 1.271 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0368/1.246, allocations: 15.59 MB / 1.287 GB, free: 159 MB / 0.9981 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=400 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches