Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001897/0.001897, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.00225/0.00225, allocations: 168.1 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.616/1.616, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.921/2.921, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.792e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.01062/0.01065, allocations: 4.363 MB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8107/0.8214, allocations: 132.7 MB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007375/0.8221, allocations: 26.38 kB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.8226, allocations: 200.9 kB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.8242, allocations: 0.5676 MB / 1.135 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.8259, allocations: 0.8745 MB / 1.136 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.8272, allocations: 1.45 MB / 1.137 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006106/0.8278, allocations: 389.8 kB / 1.137 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.8287, allocations: 0.7309 MB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.8291, allocations: 405 kB / 1.138 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.8293, allocations: 119.9 kB / 1.139 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008925/0.8302, allocations: 0.4922 MB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.8304, allocations: 314.8 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.8308, allocations: 389.6 kB / 1.14 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.8327, allocations: 1.785 MB / 1.141 GB, free: 45.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8327, allocations: 0 / 1.141 GB, free: 45.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8327, allocations: 2.5 kB / 1.141 GB, free: 45.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.8327, allocations: 0 / 1.141 GB, free: 45.02 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002266/0.835, allocations: 1.409 MB / 1.143 GB, free: 44.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.835, allocations: 12.69 kB / 1.143 GB, free: 44.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.8365, allocations: 233 kB / 1.143 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.8376, allocations: 0.7096 MB / 1.144 GB, free: 43.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.8376, allocations: 71.95 kB / 1.144 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.8378, allocations: 88.69 kB / 1.144 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.8392, allocations: 1.174 MB / 1.145 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.8393, allocations: 1.062 kB / 1.145 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.8394, allocations: 38.25 kB / 1.145 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.8394, allocations: 19.59 kB / 1.145 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.8409, allocations: 1.061 MB / 1.146 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.8445, allocations: 2.201 MB / 1.148 GB, free: 42.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.8458, allocations: 0.787 MB / 1.149 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.8463, allocations: 294.9 kB / 1.149 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.8464, allocations: 25.22 kB / 1.149 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.8472, allocations: 0.6101 MB / 1.15 GB, free: 42.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 3.586e-06/0.8472, allocations: 4.453 kB / 1.15 GB, free: 42.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.003088/0.8503, allocations: 1.157 MB / 1.151 GB, free: 42.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.8503, allocations: 200.1 kB / 1.151 GB, free: 42.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.851, allocations: 0.6 MB / 1.152 GB, free: 42.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.8511, allocations: 53.08 kB / 1.152 GB, free: 42.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.8514, allocations: 404.2 kB / 1.152 GB, free: 41.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.8516, allocations: 286.1 kB / 1.153 GB, free: 41.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.8518, allocations: 178.3 kB / 1.153 GB, free: 41.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.852, allocations: 389 kB / 1.153 GB, free: 41.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.8525, allocations: 288.7 kB / 1.153 GB, free: 41.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.8531, allocations: 0.5048 MB / 1.154 GB, free: 41.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.8542, allocations: 0.6441 MB / 1.155 GB, free: 41.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8542, allocations: 0 / 1.155 GB, free: 41.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001908/0.8561, allocations: 0.9139 MB / 1.155 GB, free: 40.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.8561, allocations: 11.06 kB / 1.155 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.8561, allocations: 1.203 kB / 1.155 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.8567, allocations: 84.11 kB / 1.156 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.8574, allocations: 164.4 kB / 1.156 GB, free: 40.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.8592, allocations: 1.5 MB / 1.157 GB, free: 39.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.8599, allocations: 103.3 kB / 1.157 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.86, allocations: 36.44 kB / 1.157 GB, free: 39.72 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.0004902/0.8605, allocations: 280.2 kB / 1.158 GB, free: 39.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.8607, allocations: 80.86 kB / 1.158 GB, free: 39.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.8628, allocations: 1.083 MB / 1.159 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.8628, allocations: 8.406 kB / 1.159 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.8628, allocations: 2.062 kB / 1.159 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8628, allocations: 9.359 kB / 1.159 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.8659, allocations: 1.87 MB / 1.161 GB, free: 39.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8659, allocations: 0.9375 kB / 1.161 GB, free: 39.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.8665, allocations: 147.6 kB / 1.161 GB, free: 39.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.8669, allocations: 73.22 kB / 1.161 GB, free: 39.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.867, allocations: 27.98 kB / 1.161 GB, free: 39.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.8685, allocations: 1.527 MB / 1.162 GB, free: 37.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8685, allocations: 0 / 1.162 GB, free: 37.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.8705, allocations: 1.018 MB / 1.163 GB, free: 37.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.8708, allocations: 199.3 kB / 1.163 GB, free: 37.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.871, allocations: 25.41 kB / 1.163 GB, free: 37.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.8716, allocations: 63.77 kB / 1.164 GB, free: 37.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.8718, allocations: 76.45 kB / 1.164 GB, free: 37.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.8718, allocations: 37.62 kB / 1.164 GB, free: 37.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004764/0.8723, allocations: 436.5 kB / 1.164 GB, free: 37.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8723, allocations: 1.203 kB / 1.164 GB, free: 37.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009491/0.8733, allocations: 335.1 kB / 1.164 GB, free: 37.43 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 (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.002112/0.8754, allocations: 0.6682 MB / 1.165 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.8771, allocations: 0.8298 MB / 1.166 GB, free: 37.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.8771, allocations: 0.9688 kB / 1.166 GB, free: 37.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.878, allocations: 0.4973 MB / 1.166 GB, free: 36.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.8795, allocations: 295.1 kB / 1.167 GB, free: 36.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.883, allocations: 1.667 MB / 1.168 GB, free: 36.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.8834, allocations: 442.1 kB / 1.169 GB, free: 36.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008704/0.8843, allocations: 266.2 kB / 1.169 GB, free: 36.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.8846, allocations: 106.8 kB / 1.169 GB, free: 36.12 MB / 1.076 GB Notification: Performance of SimCode: time 1.203e-06/0.8846, allocations: 0.8438 kB / 1.169 GB, free: 36.12 MB / 1.076 GB Notification: Performance of Templates: time 0.03174/0.9163, allocations: 15.53 MB / 1.184 GB, free: 34.44 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 10.203937731683254]