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.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.000808/0.000808, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007875/0.0007875, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8712/0.8712, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.747/1.747, allocations: 389 MB / 0.6338 GB, free: 12.73 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.688e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004198/0.004215, allocations: 4.464 MB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6059/0.6101, allocations: 132.8 MB / 1.135 GB, free: 14.89 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.6108, allocations: 24.66 kB / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.6114, allocations: 203.4 kB / 1.135 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.6127, allocations: 0.5958 MB / 1.136 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.6142, allocations: 0.8912 MB / 1.137 GB, free: 13.94 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.6153, allocations: 1.516 MB / 1.138 GB, free: 13.14 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.6158, allocations: 398.4 kB / 1.138 GB, free: 12.91 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.6166, allocations: 0.7726 MB / 1.139 GB, free: 12.55 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.617, allocations: 433.8 kB / 1.14 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.6171, allocations: 126.5 kB / 1.14 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.6177, allocations: 0.4977 MB / 1.14 GB, free: 12.28 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.618, allocations: 326 kB / 1.141 GB, free: 12.07 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.6183, allocations: 408.7 kB / 1.141 GB, free: 11.86 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.62, allocations: 1.853 MB / 1.143 GB, free: 11.09 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.62, allocations: 1.062 kB / 1.143 GB, free: 11.09 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.863e-06/0.62, allocations: 0 / 1.143 GB, free: 11.09 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.62, allocations: 0 / 1.143 GB, free: 11.09 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001759/0.6217, allocations: 1.468 MB / 1.144 GB, free: 10.13 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6218, allocations: 10.38 kB / 1.144 GB, free: 10.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.6226, allocations: 259.2 kB / 1.144 GB, free: 10.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.6236, allocations: 0.7317 MB / 1.145 GB, free: 9.598 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.6236, allocations: 70.16 kB / 1.145 GB, free: 9.57 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.6237, allocations: 100.8 kB / 1.145 GB, free: 9.531 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.625, allocations: 1.216 MB / 1.146 GB, free: 8.781 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.625, allocations: 0 / 1.146 GB, free: 8.781 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.625, allocations: 38.61 kB / 1.147 GB, free: 8.754 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6251, allocations: 21.75 kB / 1.147 GB, free: 8.754 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6264, allocations: 1.085 MB / 1.148 GB, free: 8.492 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.6292, allocations: 2.273 MB / 1.15 GB, free: 7.172 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.6304, allocations: 0.8442 MB / 1.151 GB, free: 6.848 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.6308, allocations: 315.9 kB / 1.151 GB, free: 6.727 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.747e-05/0.6309, allocations: 29.09 kB / 1.151 GB, free: 6.723 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.6316, allocations: 0.6442 MB / 1.152 GB, free: 6.367 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 1.944e-06/0.6316, allocations: 1.375 kB / 1.152 GB, free: 6.367 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.002021/0.6337, allocations: 1.23 MB / 1.153 GB, free: 5.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.6337, allocations: 202.4 kB / 1.153 GB, free: 5.703 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.6343, allocations: 0.6225 MB / 1.154 GB, free: 5.422 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.6344, allocations: 50.25 kB / 1.154 GB, free: 5.375 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.6347, allocations: 411.7 kB / 1.154 GB, free: 5.055 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.6348, allocations: 309.7 kB / 1.154 GB, free: 4.809 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.6351, allocations: 191.3 kB / 1.155 GB, free: 4.723 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6352, allocations: 387.9 kB / 1.155 GB, free: 4.379 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.6356, allocations: 308.5 kB / 1.155 GB, free: 4.273 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.6362, allocations: 0.5329 MB / 1.156 GB, free: 3.934 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.6371, allocations: 0.6775 MB / 1.156 GB, free: 3.625 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6372, allocations: 0 / 1.156 GB, free: 3.625 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001455/0.6386, allocations: 0.9756 MB / 1.157 GB, free: 3.234 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6386, allocations: 7.766 kB / 1.157 GB, free: 3.234 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6386, allocations: 1.281 kB / 1.157 GB, free: 3.234 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.639, allocations: 79.34 kB / 1.157 GB, free: 3.219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.6394, allocations: 180.4 kB / 1.158 GB, free: 3.199 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.6408, allocations: 1.512 MB / 1.159 GB, free: 1.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.6412, allocations: 101.7 kB / 1.159 GB, free: 1.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.6413, allocations: 44.97 kB / 1.159 GB, free: 1.762 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: 32 (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,decAng.k,$PRE.decAng.k,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 (115): * Single equations (assignments): 114 * 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.000311/0.6416, allocations: 278.3 kB / 1.159 GB, free: 1.555 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6417, allocations: 89.33 kB / 1.16 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.6436, allocations: 1.174 MB / 1.161 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.6436, allocations: 11.64 kB / 1.161 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6436, allocations: 112 / 1.161 GB, free: 1.043 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6436, allocations: 9.469 kB / 1.161 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.6463, allocations: 2.007 MB / 1.163 GB, free: 64 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6463, allocations: 4.875 kB / 1.163 GB, free: 60 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.6467, allocations: 162.6 kB / 1.163 GB, free: 40 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.6469, allocations: 72.62 kB / 1.163 GB, free: 24 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.6469, allocations: 35.83 kB / 1.163 GB, free: 4 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.6482, allocations: 1.529 MB / 1.164 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6482, allocations: 1.531 kB / 1.164 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.6497, allocations: 1.091 MB / 1.165 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.65, allocations: 211.9 kB / 1.166 GB, free: 14.02 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.6501, allocations: 24.06 kB / 1.166 GB, free: 14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.6504, allocations: 69.27 kB / 1.166 GB, free: 13.99 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6506, allocations: 87.64 kB / 1.166 GB, free: 13.97 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.6506, allocations: 38.86 kB / 1.166 GB, free: 13.96 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004692/0.6511, allocations: 445.5 kB / 1.166 GB, free: 13.77 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.6511, allocations: 0 / 1.166 GB, free: 13.77 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007868/0.6519, allocations: 350 kB / 1.167 GB, free: 13.67 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: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,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: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.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,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001116/0.653, allocations: 0.6659 MB / 1.167 GB, free: 13.4 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.6542, allocations: 0.8859 MB / 1.168 GB, free: 13.04 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6542, allocations: 1.594 kB / 1.168 GB, free: 13.04 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.6549, allocations: 0.5284 MB / 1.169 GB, free: 12.79 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.6557, allocations: 292.4 kB / 1.169 GB, free: 12.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.658, allocations: 1.801 MB / 1.171 GB, free: 11.75 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.6584, allocations: 456.7 kB / 1.171 GB, free: 11.62 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.6587, allocations: 130.8 kB / 1.171 GB, free: 11.59 MB / 1.026 GB Notification: Performance of SimCode: time 9.32e-07/0.6587, allocations: 0 / 1.171 GB, free: 11.59 MB / 1.026 GB Notification: Performance of Templates: time 0.02153/0.6802, allocations: 19.88 MB / 1.191 GB, free: 4.699 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.746298984624445]