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.001444/0.001444, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001456/0.001456, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9128/0.9128, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.768/1.768, allocations: 359 MB / 0.6063 GB, free: 10.88 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 1.283e-06/1.283e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.001e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004589/0.004609, allocations: 4.601 MB / 0.7928 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.1238, allocations: 143.8 MB / 0.9332 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.1245, allocations: 19.81 kB / 0.9332 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.1249, allocations: 202.1 kB / 0.9334 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1261, allocations: 0.5785 MB / 0.934 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1274, allocations: 0.8568 MB / 0.9348 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.1283, allocations: 1.448 MB / 0.9362 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.1288, allocations: 397.8 kB / 0.9366 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/0.1294, allocations: 0.764 MB / 0.9374 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.1298, allocations: 378.8 kB / 0.9377 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1299, allocations: 108 kB / 0.9378 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.1304, allocations: 491.4 kB / 0.9383 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1306, allocations: 295 kB / 0.9386 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1308, allocations: 371 kB / 0.9389 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1319, allocations: 1.234 MB / 0.9401 GB, free: 204 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1319, allocations: 3.984 kB / 0.9401 GB, free: 200 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1319, allocations: 0 / 0.9401 GB, free: 200 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.1319, allocations: 0 / 0.9401 GB, free: 200 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.001524/0.1334, allocations: 1.511 MB / 0.9416 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1334, allocations: 8.031 kB / 0.9416 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.1343, allocations: 323.6 kB / 0.9419 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.1352, allocations: 0.7072 MB / 0.9426 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.1352, allocations: 70.12 kB / 0.9427 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.1353, allocations: 88 kB / 0.9428 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.136, allocations: 0.8773 MB / 0.9436 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.136, allocations: 0 / 0.9436 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.136, allocations: 40 kB / 0.9437 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1361, allocations: 24 kB / 0.9437 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.1367, allocations: 0.6689 MB / 0.9443 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1386, allocations: 2.168 MB / 0.9465 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.1392, allocations: 462.2 kB / 0.9469 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1393, allocations: 153.5 kB / 0.9471 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.1394, allocations: 32.64 kB / 0.9471 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.1397, allocations: 464.1 kB / 0.9475 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 1.944e-06/0.1397, allocations: 0 / 0.9475 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.001253/0.141, allocations: 0.7727 MB / 0.9483 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1411, allocations: 204.8 kB / 0.9485 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1414, allocations: 0.5578 MB / 0.949 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.1415, allocations: 45.7 kB / 0.9491 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.1417, allocations: 447.9 kB / 0.9495 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.1418, allocations: 297.4 kB / 0.9498 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.142, allocations: 192.1 kB / 0.95 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1421, allocations: 0.5701 MB / 0.9505 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1423, allocations: 105.9 kB / 0.9506 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.1425, allocations: 349.7 kB / 0.9509 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.1429, allocations: 351 kB / 0.9513 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1429, allocations: 0 / 0.9513 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007813/0.1436, allocations: 0.6138 MB / 0.9519 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1437, allocations: 8 kB / 0.9519 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1437, allocations: 0 / 0.9519 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.1441, allocations: 131.5 kB / 0.952 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1444, allocations: 171.8 kB / 0.9522 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.1457, allocations: 1.871 MB / 0.954 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.1459, allocations: 86 kB / 0.9541 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.146, allocations: 35.97 kB / 0.9541 GB, free: 1.285 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.0001863/0.1461, allocations: 215.3 kB / 0.9543 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1463, allocations: 119.4 kB / 0.9544 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/0.1472, allocations: 0.7755 MB / 0.9552 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1472, allocations: 8 kB / 0.9552 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.1472, allocations: 0 / 0.9552 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1472, allocations: 11.97 kB / 0.9552 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1488, allocations: 1.449 MB / 0.9566 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1488, allocations: 0 / 0.9566 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.1491, allocations: 147.8 kB / 0.9568 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.1494, allocations: 115.6 kB / 0.9569 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.1495, allocations: 27.97 kB / 0.9569 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009897/0.1504, allocations: 1.891 MB / 0.9588 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1504, allocations: 3.938 kB / 0.9588 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1515, allocations: 0.8219 MB / 0.9596 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.1517, allocations: 195 kB / 0.9598 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.1518, allocations: 20 kB / 0.9598 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.152, allocations: 37.84 kB / 0.9598 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.1521, allocations: 80.86 kB / 0.9599 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.1521, allocations: 31.97 kB / 0.9599 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002022/0.1523, allocations: 350.9 kB / 0.9602 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1523, allocations: 0 / 0.9602 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005312/0.1528, allocations: 339.1 kB / 0.9606 GB, free: 10.46 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.001087/0.1539, allocations: 0.6299 MB / 0.9612 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1546, allocations: 0.6093 MB / 0.9618 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1546, allocations: 0 / 0.9618 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.1549, allocations: 453 kB / 0.9622 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.1556, allocations: 318.4 kB / 0.9625 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1573, allocations: 1.473 MB / 0.964 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.1575, allocations: 198.9 kB / 0.9641 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.1578, allocations: 194.8 kB / 0.9643 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.1583, allocations: 366 kB / 0.9647 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of SimCode: time 4.3e-07/0.1583, allocations: 0 / 0.9647 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.01846/0.1768, allocations: 17.01 MB / 0.9813 GB, free: 5.633 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.631791928317398]