Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001454/0.001454, 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.001593/0.001593, allocations: 185 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.9134/0.9134, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.71/1.71, allocations: 359 MB / 0.6055 GB, free: 10.91 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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.584e-05, allocations: 8.578 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01614/0.01616, allocations: 4.93 MB / 0.7924 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.1431, allocations: 143.9 MB / 0.9329 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.144, allocations: 23.81 kB / 0.9329 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.1446, allocations: 202 kB / 0.9331 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.1462, allocations: 0.6095 MB / 0.9337 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.148, allocations: 0.8803 MB / 0.9346 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1494, allocations: 1.549 MB / 0.9361 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006853/0.1501, allocations: 458.4 kB / 0.9365 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1512, allocations: 0.8575 MB / 0.9373 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.1517, allocations: 414.8 kB / 0.9377 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.1518, allocations: 124 kB / 0.9379 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.1528, allocations: 0.4915 MB / 0.9383 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.153, allocations: 326.9 kB / 0.9386 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.1534, allocations: 422.9 kB / 0.9391 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1549, allocations: 1.323 MB / 0.9403 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1549, allocations: 4 kB / 0.9403 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1549, allocations: 0 / 0.9403 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.1549, allocations: 0 / 0.9403 GB, free: 15.24 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00186/0.1568, allocations: 1.601 MB / 0.9419 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1568, allocations: 15.97 kB / 0.9419 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.1583, allocations: 459.2 kB / 0.9424 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.1593, allocations: 0.7345 MB / 0.9431 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.1594, allocations: 82.06 kB / 0.9432 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1595, allocations: 112 kB / 0.9433 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1606, allocations: 0.9868 MB / 0.9442 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1606, allocations: 0 / 0.9442 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.1607, allocations: 43.94 kB / 0.9443 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1607, allocations: 24 kB / 0.9443 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.1616, allocations: 0.7275 MB / 0.945 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.1647, allocations: 2.278 MB / 0.9472 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1658, allocations: 0.5505 MB / 0.9478 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1661, allocations: 174.5 kB / 0.9479 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/0.1661, allocations: 60.75 kB / 0.948 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.1667, allocations: 0.4948 MB / 0.9485 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 2.735e-06/0.1667, allocations: 0 / 0.9485 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.001635/0.1683, allocations: 0.8196 MB / 0.9493 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.1684, allocations: 196.9 kB / 0.9495 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.1689, allocations: 0.5578 MB / 0.95 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.1689, allocations: 49.7 kB / 0.9501 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.1692, allocations: 491.8 kB / 0.9505 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.1694, allocations: 309.3 kB / 0.9508 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.1696, allocations: 200.1 kB / 0.951 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1698, allocations: 0.5701 MB / 0.9516 GB, free: 3.363 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.17, allocations: 125.9 kB / 0.9517 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.1705, allocations: 365.7 kB / 0.952 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.171, allocations: 375 kB / 0.9524 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.171, allocations: 4.062 kB / 0.9524 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001078/0.1721, allocations: 0.6528 MB / 0.953 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1721, allocations: 5.562 kB / 0.953 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1721, allocations: 4 kB / 0.953 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.1726, allocations: 131.5 kB / 0.9532 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.1731, allocations: 195.6 kB / 0.9534 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1746, allocations: 1.871 MB / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.175, allocations: 95.52 kB / 0.9553 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.175, allocations: 35.97 kB / 0.9553 GB, free: 15.34 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 (111): * Single equations (assignments): 110 * 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.0002426/0.1753, allocations: 219.2 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1754, allocations: 115.4 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.1768, allocations: 0.8536 MB / 0.9565 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.1768, allocations: 12 kB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1768, allocations: 0 / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1768, allocations: 3.984 kB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1789, allocations: 1.565 MB / 0.958 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1789, allocations: 0 / 0.958 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.1793, allocations: 163.7 kB / 0.9582 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/0.1797, allocations: 115.6 kB / 0.9583 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.1798, allocations: 27.98 kB / 0.9583 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.1811, allocations: 1.883 MB / 0.9601 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1811, allocations: 0 / 0.9601 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1822, allocations: 0.8765 MB / 0.961 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.1825, allocations: 199.1 kB / 0.9612 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.1826, allocations: 23.94 kB / 0.9612 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.183, allocations: 51.91 kB / 0.9613 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1831, allocations: 76.84 kB / 0.9613 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.1831, allocations: 27.98 kB / 0.9614 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002851/0.1834, allocations: 366.9 kB / 0.9617 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.1834, allocations: 0 / 0.9617 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007283/0.1841, allocations: 367 kB / 0.9621 GB, free: 8.203 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 (105): * Single equations (assignments): 94 * 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.00138/0.1855, allocations: 0.6406 MB / 0.9627 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009516/0.1865, allocations: 0.6598 MB / 0.9633 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1865, allocations: 0 / 0.9633 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.187, allocations: 480.9 kB / 0.9638 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.1877, allocations: 328.4 kB / 0.9641 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.19, allocations: 1.621 MB / 0.9657 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.1901, allocations: 203.2 kB / 0.9659 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.1906, allocations: 203 kB / 0.9661 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.1913, allocations: 377.9 kB / 0.9664 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of SimCode: time 1.343e-06/0.1913, allocations: 0 / 0.9664 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of Templates: time 0.02046/0.2117, allocations: 17.53 MB / 0.9836 GB, free: 2.598 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.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.406634109094739]