Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000889/0.000889, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009665/0.0009665, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9719/0.9719, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.174e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007048/0.00708, allocations: 4.585 MB / 0.792 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1207/0.1278, allocations: 143.8 MB / 0.9325 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.1285, allocations: 19.88 kB / 0.9325 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.1291, allocations: 194.2 kB / 0.9327 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1305, allocations: 0.5784 MB / 0.9332 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1319, allocations: 0.8607 MB / 0.9341 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1332, allocations: 1.452 MB / 0.9355 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.1337, allocations: 385.9 kB / 0.9359 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.1346, allocations: 0.7757 MB / 0.9366 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1349, allocations: 374.8 kB / 0.937 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1351, allocations: 108 kB / 0.9371 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.1358, allocations: 487.4 kB / 0.9375 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.136, allocations: 295 kB / 0.9378 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1362, allocations: 371 kB / 0.9382 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1374, allocations: 1.23 MB / 0.9394 GB, free: 196 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1374, allocations: 0 / 0.9394 GB, free: 196 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1374, allocations: 0 / 0.9394 GB, free: 196 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1374, allocations: 4 kB / 0.9394 GB, free: 192 kB / 0.8855 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.001483/0.1389, allocations: 1.511 MB / 0.9409 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1389, allocations: 8.031 kB / 0.9409 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.1397, allocations: 331.5 kB / 0.9412 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.1404, allocations: 0.6994 MB / 0.9419 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.1404, allocations: 66.12 kB / 0.9419 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.1405, allocations: 95.92 kB / 0.942 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.1412, allocations: 0.8734 MB / 0.9429 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1412, allocations: 0 / 0.9429 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.1413, allocations: 40 kB / 0.9429 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.1413, allocations: 20 kB / 0.9429 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.1419, allocations: 0.6727 MB / 0.9436 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1441, allocations: 2.168 MB / 0.9457 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.1446, allocations: 458.2 kB / 0.9461 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1448, allocations: 153.5 kB / 0.9463 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.1448, allocations: 52.42 kB / 0.9463 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.1453, allocations: 476.1 kB / 0.9468 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 2.695e-06/0.1453, allocations: 0 / 0.9468 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.00122/0.1465, allocations: 0.7649 MB / 0.9475 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.1466, allocations: 200.9 kB / 0.9477 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1469, allocations: 0.5617 MB / 0.9483 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.147, allocations: 45.7 kB / 0.9483 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.1472, allocations: 451.9 kB / 0.9488 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.1474, allocations: 293.5 kB / 0.949 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1475, allocations: 188.2 kB / 0.9492 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1477, allocations: 0.5702 MB / 0.9498 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1478, allocations: 101.9 kB / 0.9499 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.1481, allocations: 357.7 kB / 0.9502 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.1484, allocations: 343 kB / 0.9505 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1484, allocations: 0 / 0.9505 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000756/0.1492, allocations: 0.6136 MB / 0.9511 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1492, allocations: 13.97 kB / 0.9512 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1492, allocations: 3.984 kB / 0.9512 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.1496, allocations: 127.6 kB / 0.9513 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.15, allocations: 183.7 kB / 0.9515 GB, free: 3.363 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.1512, allocations: 1.867 MB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.1514, allocations: 75.47 kB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.1515, allocations: 31.98 kB / 0.9534 GB, free: 1.266 MB / 0.9011 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002028/0.1517, allocations: 219.2 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1518, allocations: 115.4 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.1527, allocations: 0.7833 MB / 0.9545 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1527, allocations: 8 kB / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1527, allocations: 0 / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1527, allocations: 3.984 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1543, allocations: 1.452 MB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1543, allocations: 0 / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1545, allocations: 151.7 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/0.1548, allocations: 119.6 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.1549, allocations: 27.97 kB / 0.9562 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.1559, allocations: 1.883 MB / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1559, allocations: 0 / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.1567, allocations: 0.8219 MB / 0.9588 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.1569, allocations: 195 kB / 0.959 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.157, allocations: 16 kB / 0.959 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1572, allocations: 43.97 kB / 0.9591 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.1573, allocations: 68.86 kB / 0.9591 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.1573, allocations: 31.97 kB / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002085/0.1575, allocations: 362.9 kB / 0.9595 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1575, allocations: 0 / 0.9595 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006591/0.1582, allocations: 339.1 kB / 0.9598 GB, free: 10.43 MB / 0.9167 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.001198/0.1594, allocations: 0.6349 MB / 0.9604 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006828/0.1601, allocations: 0.6133 MB / 0.961 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1601, allocations: 4.062 kB / 0.9611 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.1604, allocations: 453 kB / 0.9615 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.1611, allocations: 322.5 kB / 0.9618 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1631, allocations: 1.478 MB / 0.9632 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1632, allocations: 198.9 kB / 0.9634 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003852/0.1636, allocations: 194.7 kB / 0.9636 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.1641, allocations: 365.9 kB / 0.964 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/0.1641, allocations: 0 / 0.964 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of Templates: time 0.02029/0.1844, allocations: 16.75 MB / 0.9803 GB, free: 5.855 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.507754160556942]