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.0009501/0.0009501, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009504/0.0009504, allocations: 169 kB / 24.28 MB, free: 276 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.9578/0.9578, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.887/1.887, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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 2.244e-06/2.244e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.239e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005372/0.005404, allocations: 5.005 MB / 0.792 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.137, allocations: 146.4 MB / 0.935 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008265/0.1378, allocations: 23.81 kB / 0.935 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1384, allocations: 202 kB / 0.9352 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.14, allocations: 0.6057 MB / 0.9358 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1416, allocations: 0.892 MB / 0.9366 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.1429, allocations: 1.537 MB / 0.9381 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006386/0.1435, allocations: 464.5 kB / 0.9386 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007877/0.1443, allocations: 0.7992 MB / 0.9394 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.1448, allocations: 450.7 kB / 0.9398 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1449, allocations: 132 kB / 0.9399 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009659/0.1459, allocations: 0.5305 MB / 0.9404 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.1461, allocations: 338.9 kB / 0.9408 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.1464, allocations: 426.9 kB / 0.9412 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1478, allocations: 1.374 MB / 0.9425 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1478, allocations: 0 / 0.9425 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1478, allocations: 4 kB / 0.9425 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.1478, allocations: 3.984 kB / 0.9425 GB, free: 13.15 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.001692/0.1495, allocations: 1.605 MB / 0.9441 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1496, allocations: 12.03 kB / 0.9441 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1506, allocations: 379.4 kB / 0.9445 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.1515, allocations: 0.748 MB / 0.9452 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1515, allocations: 82.12 kB / 0.9453 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1516, allocations: 104 kB / 0.9454 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1527, allocations: 1.091 MB / 0.9464 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1528, allocations: 0 / 0.9464 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.1528, allocations: 39.98 kB / 0.9465 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.1528, allocations: 24 kB / 0.9465 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.1539, allocations: 0.8348 MB / 0.9473 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.1568, allocations: 2.512 MB / 0.9498 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.1577, allocations: 0.5284 MB / 0.9503 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.158, allocations: 191 kB / 0.9505 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.1583, allocations: 76.92 kB / 0.9505 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.1588, allocations: 0.5144 MB / 0.951 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 3.637e-06/0.1588, allocations: 0 / 0.951 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001716/0.1605, allocations: 0.8783 MB / 0.9519 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.1606, allocations: 196.9 kB / 0.9521 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.1611, allocations: 0.5815 MB / 0.9526 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.1612, allocations: 53.69 kB / 0.9527 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.1614, allocations: 487.9 kB / 0.9532 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.1616, allocations: 301.5 kB / 0.9534 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/0.162, allocations: 192.2 kB / 0.9536 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1622, allocations: 0.5625 MB / 0.9542 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.1624, allocations: 153.9 kB / 0.9543 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1628, allocations: 397.8 kB / 0.9547 GB, free: 200 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.1633, allocations: 415.1 kB / 0.9551 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1633, allocations: 0 / 0.9551 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001064/0.1644, allocations: 0.6997 MB / 0.9558 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1644, allocations: 11.94 kB / 0.9558 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1644, allocations: 96 / 0.9558 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/0.1649, allocations: 131.5 kB / 0.9559 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.1653, allocations: 187.7 kB / 0.9561 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1668, allocations: 1.909 MB / 0.958 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.1671, allocations: 75.55 kB / 0.958 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.1672, allocations: 39.97 kB / 0.9581 GB, free: 12.59 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.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 (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.0002976/0.1675, allocations: 219 kB / 0.9583 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1676, allocations: 119.4 kB / 0.9584 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.169, allocations: 0.8771 MB / 0.9593 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.169, allocations: 16 kB / 0.9593 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.169, allocations: 0 / 0.9593 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.169, allocations: 7.969 kB / 0.9593 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.1714, allocations: 1.71 MB / 0.9609 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1714, allocations: 0 / 0.9609 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1717, allocations: 151.8 kB / 0.9611 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/0.1721, allocations: 115.6 kB / 0.9612 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.1721, allocations: 27.97 kB / 0.9612 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.1733, allocations: 1.918 MB / 0.9631 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1733, allocations: 0 / 0.9631 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1744, allocations: 0.9039 MB / 0.964 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.1747, allocations: 207.1 kB / 0.9642 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.1747, allocations: 28.08 kB / 0.9642 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.175, allocations: 47.94 kB / 0.9643 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1751, allocations: 72.86 kB / 0.9643 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.1752, allocations: 44.03 kB / 0.9644 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003274/0.1755, allocations: 398.9 kB / 0.9647 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1755, allocations: 0 / 0.9647 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008059/0.1763, allocations: 378.9 kB / 0.9651 GB, free: 5.145 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.001382/0.1777, allocations: 0.6581 MB / 0.9657 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.1787, allocations: 0.6992 MB / 0.9664 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1787, allocations: 0 / 0.9664 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.1792, allocations: 497.2 kB / 0.9669 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.18, allocations: 321.7 kB / 0.9672 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1827, allocations: 1.634 MB / 0.9688 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.1829, allocations: 199 kB / 0.969 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005443/0.1834, allocations: 262.8 kB / 0.9692 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1836, allocations: 116.4 kB / 0.9694 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of SimCode: time 1.944e-06/0.1836, allocations: 0 / 0.9694 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of Templates: time 0.02049/0.2041, allocations: 16.31 MB / 0.9853 GB, free: 0.8398 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: 6.001433338038623]