Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009343/0.0009343, 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.000947/0.000947, 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.9669/0.9669, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.724/1.724, allocations: 359 MB / 0.6055 GB, free: 10.86 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.548e-05, allocations: 7.75 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006926/0.006952, allocations: 4.931 MB / 0.7923 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.1391, allocations: 143.9 MB / 0.9329 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/0.1398, allocations: 23.81 kB / 0.9329 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1403, allocations: 210 kB / 0.9331 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1418, allocations: 0.6094 MB / 0.9337 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1433, allocations: 0.8997 MB / 0.9346 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1446, allocations: 1.541 MB / 0.9361 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.1453, allocations: 452.7 kB / 0.9365 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.1461, allocations: 0.8458 MB / 0.9374 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.1465, allocations: 414.8 kB / 0.9378 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1466, allocations: 120 kB / 0.9379 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.1474, allocations: 0.5149 MB / 0.9384 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1476, allocations: 322.9 kB / 0.9387 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.1478, allocations: 422.9 kB / 0.9391 GB, free: 492 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1491, allocations: 1.335 MB / 0.9404 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1491, allocations: 0 / 0.9404 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1491, allocations: 0 / 0.9404 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.1491, allocations: 0 / 0.9404 GB, free: 15.14 MB / 0.9011 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.001478/0.1506, allocations: 1.612 MB / 0.942 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1506, allocations: 8.031 kB / 0.942 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.1515, allocations: 379.4 kB / 0.9423 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.1522, allocations: 0.7305 MB / 0.9431 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.1523, allocations: 78.12 kB / 0.9431 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.1525, allocations: 107.9 kB / 0.9432 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.1533, allocations: 0.9553 MB / 0.9442 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1533, allocations: 0 / 0.9442 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.1534, allocations: 43.98 kB / 0.9442 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1534, allocations: 24 kB / 0.9442 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.154, allocations: 0.704 MB / 0.9449 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.1562, allocations: 2.341 MB / 0.9472 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.1568, allocations: 488.7 kB / 0.9477 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.157, allocations: 165 kB / 0.9478 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.1572, allocations: 112.6 kB / 0.9479 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.1576, allocations: 482.6 kB / 0.9484 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.1576, allocations: 0 / 0.9484 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.00128/0.1589, allocations: 0.7846 MB / 0.9492 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.159, allocations: 200.9 kB / 0.9494 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1594, allocations: 0.5694 MB / 0.9499 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.1594, allocations: 49.7 kB / 0.95 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.1598, allocations: 499.7 kB / 0.9504 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1599, allocations: 297.4 kB / 0.9507 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1601, allocations: 196.1 kB / 0.9509 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1603, allocations: 0.574 MB / 0.9515 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1604, allocations: 121.8 kB / 0.9516 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1607, allocations: 353.7 kB / 0.9519 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.161, allocations: 355 kB / 0.9523 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.161, allocations: 4 kB / 0.9523 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007724/0.1618, allocations: 0.6293 MB / 0.9529 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1618, allocations: 6.031 kB / 0.9529 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1618, allocations: 4 kB / 0.9529 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.1622, allocations: 123.7 kB / 0.953 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.1626, allocations: 191.7 kB / 0.9532 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.1638, allocations: 1.875 MB / 0.955 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.1641, allocations: 83.52 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.1641, allocations: 35.97 kB / 0.9551 GB, free: 15.46 MB / 0.9167 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.0002041/0.1643, allocations: 215 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1644, allocations: 119.5 kB / 0.9555 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009534/0.1654, allocations: 0.8029 MB / 0.9562 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1654, allocations: 16 kB / 0.9563 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1654, allocations: 0 / 0.9563 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1654, allocations: 3.984 kB / 0.9563 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.1671, allocations: 1.511 MB / 0.9577 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1671, allocations: 4 kB / 0.9577 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.1674, allocations: 147.8 kB / 0.9579 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.1677, allocations: 127.4 kB / 0.958 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.1677, allocations: 27.97 kB / 0.958 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009535/0.1687, allocations: 1.883 MB / 0.9599 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1687, allocations: 0 / 0.9599 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.1695, allocations: 0.8374 MB / 0.9607 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.1697, allocations: 195.1 kB / 0.9609 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.1698, allocations: 24.03 kB / 0.9609 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.17, allocations: 42.08 kB / 0.9609 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.1701, allocations: 80.73 kB / 0.961 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.1701, allocations: 31.97 kB / 0.961 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002093/0.1703, allocations: 362.9 kB / 0.9614 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.1703, allocations: 0 / 0.9614 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006853/0.171, allocations: 375 kB / 0.9617 GB, free: 8.473 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 (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.001206/0.1722, allocations: 0.6679 MB / 0.9624 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.1729, allocations: 0.6288 MB / 0.963 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1729, allocations: 0 / 0.963 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.1733, allocations: 465.1 kB / 0.9635 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.1739, allocations: 322.7 kB / 0.9638 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.1761, allocations: 1.595 MB / 0.9653 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.1763, allocations: 199 kB / 0.9655 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004122/0.1767, allocations: 198.9 kB / 0.9657 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.1772, allocations: 369.9 kB / 0.966 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/0.1772, allocations: 0 / 0.966 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of Templates: time 0.02131/0.1985, allocations: 17.43 MB / 0.9831 GB, free: 3.031 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.450181366875768]