Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 173.9 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9261/0.9261, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.797/1.797, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.779e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004596/0.004624, allocations: 4.373 MB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5799/0.5846, allocations: 132.7 MB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/0.5853, allocations: 24 kB / 1.135 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.5858, allocations: 196.8 kB / 1.135 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.5872, allocations: 0.5682 MB / 1.136 GB, free: 14.6 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.5887, allocations: 0.8813 MB / 1.136 GB, free: 14.13 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.5902, allocations: 1.468 MB / 1.138 GB, free: 13.35 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.5908, allocations: 403.7 kB / 1.138 GB, free: 13.12 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.5917, allocations: 0.7423 MB / 1.139 GB, free: 12.77 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.5922, allocations: 411.7 kB / 1.139 GB, free: 12.61 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.5923, allocations: 124.5 kB / 1.139 GB, free: 12.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.5933, allocations: 0.4889 MB / 1.14 GB, free: 12.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.5935, allocations: 318.7 kB / 1.14 GB, free: 12.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.5939, allocations: 395.7 kB / 1.141 GB, free: 12.1 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.5962, allocations: 1.827 MB / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5962, allocations: 1.922 kB / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5962, allocations: 0 / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.5962, allocations: 0 / 1.142 GB, free: 11.33 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00215/0.5984, allocations: 1.419 MB / 1.144 GB, free: 10.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5984, allocations: 10.78 kB / 1.144 GB, free: 10.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.5994, allocations: 244.3 kB / 1.144 GB, free: 10.33 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6004, allocations: 0.7206 MB / 1.145 GB, free: 9.879 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.6005, allocations: 67.73 kB / 1.145 GB, free: 9.848 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.6006, allocations: 90.58 kB / 1.145 GB, free: 9.816 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.6019, allocations: 1.193 MB / 1.146 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6019, allocations: 1.094 kB / 1.146 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.602, allocations: 36.78 kB / 1.146 GB, free: 9.047 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.602, allocations: 21.22 kB / 1.146 GB, free: 9.047 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.6034, allocations: 1.069 MB / 1.147 GB, free: 8.785 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.6067, allocations: 2.249 MB / 1.149 GB, free: 7.465 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.6079, allocations: 0.8087 MB / 1.15 GB, free: 7.152 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.6083, allocations: 297.5 kB / 1.15 GB, free: 7.039 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.6084, allocations: 27.55 kB / 1.15 GB, free: 7.035 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.6092, allocations: 0.6079 MB / 1.151 GB, free: 6.699 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 4.098e-06/0.6092, allocations: 1.5 kB / 1.151 GB, free: 6.699 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.002297/0.6115, allocations: 1.177 MB / 1.152 GB, free: 6.262 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.6116, allocations: 200.3 kB / 1.152 GB, free: 6.035 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.6123, allocations: 0.6027 MB / 1.153 GB, free: 5.758 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.6124, allocations: 46.12 kB / 1.153 GB, free: 5.715 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.6127, allocations: 409.5 kB / 1.153 GB, free: 5.395 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6129, allocations: 286 kB / 1.154 GB, free: 5.168 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.6131, allocations: 175.4 kB / 1.154 GB, free: 5.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6132, allocations: 385 kB / 1.154 GB, free: 4.746 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.6136, allocations: 292.8 kB / 1.154 GB, free: 4.645 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.6141, allocations: 0.5188 MB / 1.155 GB, free: 4.309 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.615, allocations: 0.6453 MB / 1.156 GB, free: 4.012 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.615, allocations: 0 / 1.156 GB, free: 4.012 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001444/0.6164, allocations: 0.9204 MB / 1.157 GB, free: 3.637 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6164, allocations: 5.281 kB / 1.157 GB, free: 3.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6165, allocations: 2.391 kB / 1.157 GB, free: 3.637 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.6168, allocations: 86.89 kB / 1.157 GB, free: 3.617 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.6173, allocations: 168.7 kB / 1.157 GB, free: 3.598 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.6189, allocations: 1.515 MB / 1.158 GB, free: 2.219 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.6194, allocations: 88.48 kB / 1.158 GB, free: 2.176 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.6195, allocations: 40.17 kB / 1.158 GB, free: 2.168 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0005327/0.62, allocations: 289.2 kB / 1.159 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.6201, allocations: 82.67 kB / 1.159 GB, free: 1.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.6219, allocations: 1.081 MB / 1.16 GB, free: 1.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6219, allocations: 15.23 kB / 1.16 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6219, allocations: 0 / 1.16 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6219, allocations: 6.203 kB / 1.16 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.6248, allocations: 1.894 MB / 1.162 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6248, allocations: 0 / 1.162 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.6252, allocations: 151.8 kB / 1.162 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.6254, allocations: 73.61 kB / 1.162 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.6255, allocations: 29.38 kB / 1.162 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.6268, allocations: 1.544 MB / 1.163 GB, free: 15.1 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6268, allocations: 4.188 kB / 1.163 GB, free: 15.1 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.6284, allocations: 1.031 MB / 1.164 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.6288, allocations: 193.9 kB / 1.165 GB, free: 14.52 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6289, allocations: 23.69 kB / 1.165 GB, free: 14.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.6293, allocations: 66.62 kB / 1.165 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.6295, allocations: 76.81 kB / 1.165 GB, free: 14.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.6295, allocations: 35.69 kB / 1.165 GB, free: 14.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005353/0.6301, allocations: 434.7 kB / 1.165 GB, free: 14.27 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6301, allocations: 0 / 1.165 GB, free: 14.27 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00104/0.6311, allocations: 341.8 kB / 1.166 GB, free: 14.18 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001295/0.6324, allocations: 0.661 MB / 1.166 GB, free: 13.91 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.634, allocations: 0.8371 MB / 1.167 GB, free: 13.57 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.634, allocations: 1.094 kB / 1.167 GB, free: 13.57 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.6347, allocations: 0.5019 MB / 1.167 GB, free: 13.33 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.6357, allocations: 295.4 kB / 1.168 GB, free: 13.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.6386, allocations: 1.72 MB / 1.169 GB, free: 12.32 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.6391, allocations: 446.9 kB / 1.17 GB, free: 12.18 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.6394, allocations: 116.4 kB / 1.17 GB, free: 12.16 MB / 1.026 GB Notification: Performance of SimCode: time 1.453e-06/0.6394, allocations: 0 / 1.17 GB, free: 12.16 MB / 1.026 GB Notification: Performance of Templates: time 0.0306/0.67, allocations: 19.36 MB / 1.189 GB, free: 5.695 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.951030245050788]