Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001941/0.001941, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.00234/0.00234, allocations: 165 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.896/2.896, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.495e-05, allocations: 5.375 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007523/0.007558, allocations: 4.401 MB / 0.9857 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.1971, allocations: 132.7 MB / 1.115 GB, free: 2.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.1981, allocations: 23.81 kB / 1.115 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.1988, allocations: 202.1 kB / 1.116 GB, free: 2.156 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.201, allocations: 0.5756 MB / 1.116 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.2033, allocations: 0.8826 MB / 1.117 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002097/0.2054, allocations: 1.467 MB / 1.118 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.2062, allocations: 401.7 kB / 1.119 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.2076, allocations: 0.7485 MB / 1.119 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.2082, allocations: 410.8 kB / 1.12 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.2085, allocations: 124 kB / 1.12 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2097, allocations: 0.4915 MB / 1.12 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.21, allocations: 315 kB / 1.121 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.2105, allocations: 395 kB / 1.121 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.213, allocations: 1.83 MB / 1.123 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.213, allocations: 4 kB / 1.123 GB, free: 10.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2131, allocations: 3.938 kB / 1.123 GB, free: 10.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.2131, allocations: 0 / 1.123 GB, free: 10.51 MB / 1.076 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.003048/0.2161, allocations: 1.419 MB / 1.124 GB, free: 9.055 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.2162, allocations: 16.02 kB / 1.124 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.218, allocations: 236 kB / 1.125 GB, free: 8.809 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.2194, allocations: 0.722 MB / 1.125 GB, free: 8.059 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.2195, allocations: 74.12 kB / 1.125 GB, free: 7.984 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2197, allocations: 87.98 kB / 1.125 GB, free: 7.898 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.2218, allocations: 1.197 MB / 1.127 GB, free: 6.602 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2218, allocations: 4 kB / 1.127 GB, free: 6.598 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/0.2219, allocations: 36 kB / 1.127 GB, free: 6.562 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.222, allocations: 24 kB / 1.127 GB, free: 6.539 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.224, allocations: 1.069 MB / 1.128 GB, free: 5.469 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/0.2287, allocations: 2.244 MB / 1.13 GB, free: 3.172 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2305, allocations: 0.811 MB / 1.131 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.2312, allocations: 294.7 kB / 1.131 GB, free: 2.066 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.172e-05/0.2313, allocations: 28.72 kB / 1.131 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.2323, allocations: 0.6124 MB / 1.132 GB, free: 1.379 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.2323, allocations: 0 / 1.132 GB, free: 1.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.003497/0.2358, allocations: 1.16 MB / 1.133 GB, free: 216 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.496/0.7319, allocations: 208.9 kB / 1.133 GB, free: 195.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/0.7328, allocations: 0.6031 MB / 1.134 GB, free: 195.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.733, allocations: 45.7 kB / 1.134 GB, free: 195.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.7333, allocations: 403.3 kB / 1.134 GB, free: 195 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.7334, allocations: 287.6 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.7337, allocations: 180 kB / 1.134 GB, free: 194.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.7337, allocations: 386.3 kB / 1.135 GB, free: 194.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.7343, allocations: 293.6 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.7348, allocations: 0.5072 MB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7358, allocations: 0.6555 MB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7358, allocations: 0 / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001848/0.7377, allocations: 0.9155 MB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7377, allocations: 8.422 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7377, allocations: 3.094 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.7383, allocations: 83.08 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.739, allocations: 168.3 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.7407, allocations: 1.515 MB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.7413, allocations: 99.66 kB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.7414, allocations: 39.95 kB / 1.139 GB, free: 191.9 MB / 1.076 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.0004516/0.7419, allocations: 282 kB / 1.139 GB, free: 191.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.742, allocations: 86.56 kB / 1.139 GB, free: 191.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.7441, allocations: 1.096 MB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.7441, allocations: 8.656 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7441, allocations: 2.531 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.7441, allocations: 6.609 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.7474, allocations: 1.908 MB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7474, allocations: 2.188 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.7479, allocations: 145.6 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.7483, allocations: 75.95 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.7483, allocations: 26.75 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.7499, allocations: 1.544 MB / 1.144 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7499, allocations: 0 / 1.144 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.7518, allocations: 1.033 MB / 1.145 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.7521, allocations: 202.6 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.7523, allocations: 24.62 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.7529, allocations: 63.81 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.753, allocations: 71.3 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.7531, allocations: 37.42 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004938/0.7536, allocations: 434.5 kB / 1.146 GB, free: 188.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7536, allocations: 0 / 1.146 GB, free: 188.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009809/0.7546, allocations: 343.5 kB / 1.146 GB, free: 188 MB / 1.076 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 (98): * Single equations (assignments): 87 * 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.001933/0.7565, allocations: 0.6688 MB / 1.147 GB, free: 187.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.7581, allocations: 0.8428 MB / 1.148 GB, free: 187.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7581, allocations: 416 / 1.148 GB, free: 187.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.7589, allocations: 0.5035 MB / 1.148 GB, free: 187.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.7601, allocations: 284.2 kB / 1.148 GB, free: 187.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.7626, allocations: 1.691 MB / 1.15 GB, free: 186.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.763, allocations: 449.2 kB / 1.15 GB, free: 186.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006883/0.7636, allocations: 262.8 kB / 1.151 GB, free: 186.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.7639, allocations: 106.9 kB / 1.151 GB, free: 186.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.182e-06/0.7639, allocations: 0 / 1.151 GB, free: 186.1 MB / 1.076 GB Notification: Performance of Templates: time 0.02455/0.7885, allocations: 15.73 MB / 1.166 GB, free: 184.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.612771317362785]