Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.0009599/0.0009599, allocations: 81.95 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.001066/0.001066, allocations: 181.3 kB / 24.09 MB, free: 416 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.892/0.892, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.802/1.802, allocations: 377.9 MB / 0.6239 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.5469 kB / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.22e-05, allocations: 3.625 kB / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00449/0.004502, allocations: 4.943 MB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1232/0.1277, allocations: 143.9 MB / 0.9574 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/0.1286, allocations: 23.81 kB / 0.9574 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.1292, allocations: 217.9 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.1308, allocations: 0.6056 MB / 0.9582 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.1327, allocations: 0.892 MB / 0.9591 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1341, allocations: 1.541 MB / 0.9606 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.1348, allocations: 460.6 kB / 0.961 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.1357, allocations: 0.842 MB / 0.9618 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.1362, allocations: 414.7 kB / 0.9622 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1363, allocations: 120 kB / 0.9624 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.1371, allocations: 0.5149 MB / 0.9629 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1373, allocations: 322.9 kB / 0.9632 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.1377, allocations: 414.9 kB / 0.9636 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1391, allocations: 1.339 MB / 0.9649 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1391, allocations: 0 / 0.9649 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1391, allocations: 0 / 0.9649 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1391, allocations: 0 / 0.9649 GB, free: 4.414 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001979/0.1411, allocations: 1.608 MB / 0.9664 GB, free: 2.754 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1411, allocations: 8.031 kB / 0.9664 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.1423, allocations: 379.4 kB / 0.9668 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.1432, allocations: 0.7383 MB / 0.9675 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.1432, allocations: 74.12 kB / 0.9676 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1433, allocations: 104 kB / 0.9677 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.1443, allocations: 0.9631 MB / 0.9686 GB, free: 384 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1443, allocations: 0 / 0.9686 GB, free: 384 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.1444, allocations: 43.98 kB / 0.9687 GB, free: 340 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1444, allocations: 24 kB / 0.9687 GB, free: 316 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.1453, allocations: 0.7079 MB / 0.9694 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.148, allocations: 2.344 MB / 0.9717 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.1488, allocations: 484.5 kB / 0.9721 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.149, allocations: 163.3 kB / 0.9723 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.1493, allocations: 108.7 kB / 0.9724 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.1501, allocations: 490.7 kB / 0.9729 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.335e-06/0.1501, allocations: 0 / 0.9729 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.00154/0.1516, allocations: 0.7884 MB / 0.9736 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1517, allocations: 196.9 kB / 0.9738 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.1521, allocations: 0.5617 MB / 0.9744 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.1522, allocations: 53.69 kB / 0.9744 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.1525, allocations: 491.8 kB / 0.9749 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.1527, allocations: 301.5 kB / 0.9752 GB, free: 9.469 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.1529, allocations: 196.1 kB / 0.9754 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1531, allocations: 0.5701 MB / 0.9759 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1532, allocations: 113.9 kB / 0.976 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.1536, allocations: 361.7 kB / 0.9764 GB, free: 8.172 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.154, allocations: 355 kB / 0.9767 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.154, allocations: 4 kB / 0.9767 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001025/0.1551, allocations: 0.6254 MB / 0.9773 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1551, allocations: 4 kB / 0.9773 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1551, allocations: 8.094 kB / 0.9774 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.1556, allocations: 119.6 kB / 0.9775 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.1561, allocations: 187.7 kB / 0.9776 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1574, allocations: 1.879 MB / 0.9795 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.1577, allocations: 80.66 kB / 0.9796 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.1578, allocations: 39.91 kB / 0.9796 GB, free: 4.738 MB / 0.9323 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 (109): * Single equations (assignments): 108 * 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.0004039/0.1582, allocations: 219 kB / 0.9798 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.1583, allocations: 119.4 kB / 0.9799 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.1596, allocations: 0.8068 MB / 0.9807 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1596, allocations: 12 kB / 0.9807 GB, free: 3.559 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1596, allocations: 0 / 0.9807 GB, free: 3.559 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1596, allocations: 7.969 kB / 0.9807 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.1616, allocations: 1.515 MB / 0.9822 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1616, allocations: 0 / 0.9822 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.162, allocations: 147.8 kB / 0.9823 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.1623, allocations: 115.5 kB / 0.9825 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.1624, allocations: 31.97 kB / 0.9825 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1636, allocations: 1.888 MB / 0.9843 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1636, allocations: 0 / 0.9843 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.1663, allocations: 0.8413 MB / 0.9851 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.1666, allocations: 199.1 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.1667, allocations: 20 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.167, allocations: 43.95 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.1671, allocations: 80.73 kB / 0.9855 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.1671, allocations: 27.98 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002217/0.1673, allocations: 362.9 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1673, allocations: 0 / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008303/0.1681, allocations: 375 kB / 0.9862 GB, free: 13.74 MB / 0.948 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 (101): * Single equations (assignments): 90 * 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.001147/0.1693, allocations: 0.658 MB / 0.9869 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006782/0.17, allocations: 0.6287 MB / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.17, allocations: 0 / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.1703, allocations: 469.1 kB / 0.9879 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.171, allocations: 319.9 kB / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1729, allocations: 1.594 MB / 0.9898 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.173, allocations: 199 kB / 0.99 GB, free: 9.988 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000375/0.1734, allocations: 202.8 kB / 0.9902 GB, free: 9.785 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.1739, allocations: 369.9 kB / 0.9905 GB, free: 9.422 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.1739, allocations: 0 / 0.9905 GB, free: 9.422 MB / 0.948 GB Notification: Performance of Templates: time 0.01948/0.1934, allocations: 17.44 MB / 1.008 GB, free: 8.316 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.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.63999348692596]