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.001412/0.001412, 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.001812/0.001812, allocations: 164.5 kB / 24.86 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.9316/0.9316, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.729/1.729, allocations: 359 MB / 0.6063 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.293e-06/1.293e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.8e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005896/0.005914, allocations: 4.947 MB / 0.7931 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.1316, allocations: 143.9 MB / 0.9337 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007238/0.1323, allocations: 27.81 kB / 0.9337 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1328, allocations: 214 kB / 0.9339 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.134, allocations: 0.6017 MB / 0.9345 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1354, allocations: 0.8919 MB / 0.9354 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.1364, allocations: 1.541 MB / 0.9369 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.1369, allocations: 452.6 kB / 0.9373 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.1376, allocations: 0.8497 MB / 0.9381 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.138, allocations: 418.7 kB / 0.9385 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.1381, allocations: 120 kB / 0.9386 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.1387, allocations: 0.5111 MB / 0.9391 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1389, allocations: 318.9 kB / 0.9394 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1392, allocations: 414.9 kB / 0.9398 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1403, allocations: 1.343 MB / 0.9412 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1403, allocations: 0 / 0.9412 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1403, allocations: 0 / 0.9412 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.1404, allocations: 8 kB / 0.9412 GB, free: 15.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.001496/0.1418, allocations: 1.608 MB / 0.9427 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1419, allocations: 8.031 kB / 0.9427 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1429, allocations: 383.4 kB / 0.9431 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.1436, allocations: 0.7304 MB / 0.9438 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.1436, allocations: 82.12 kB / 0.9439 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.024e-05/0.1437, allocations: 100 kB / 0.944 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.1445, allocations: 0.9592 MB / 0.9449 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1445, allocations: 0 / 0.9449 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.1446, allocations: 40 kB / 0.945 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1446, allocations: 28 kB / 0.945 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.1452, allocations: 0.7079 MB / 0.9457 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1474, allocations: 2.337 MB / 0.948 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.148, allocations: 494.6 kB / 0.9484 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1482, allocations: 163.3 kB / 0.9486 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.1484, allocations: 76.91 kB / 0.9487 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.1488, allocations: 498.6 kB / 0.9491 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.144e-06/0.1488, allocations: 4 kB / 0.9491 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001287/0.1501, allocations: 0.7767 MB / 0.9499 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.1501, allocations: 208.8 kB / 0.9501 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.1505, allocations: 0.5578 MB / 0.9507 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.1506, allocations: 53.7 kB / 0.9507 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1508, allocations: 491.8 kB / 0.9512 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.151, allocations: 305.4 kB / 0.9515 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1511, allocations: 192.1 kB / 0.9516 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1513, allocations: 0.574 MB / 0.9522 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1514, allocations: 109.9 kB / 0.9523 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1517, allocations: 361.7 kB / 0.9527 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1521, allocations: 359 kB / 0.953 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1521, allocations: 0 / 0.953 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008329/0.1529, allocations: 0.6333 MB / 0.9536 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1529, allocations: 4 kB / 0.9536 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1529, allocations: 0 / 0.9536 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.1533, allocations: 123.6 kB / 0.9537 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.1537, allocations: 191.7 kB / 0.9539 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.1549, allocations: 1.878 MB / 0.9558 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.1552, allocations: 87.55 kB / 0.9558 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.1552, allocations: 35.97 kB / 0.9559 GB, free: 15.5 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.0001949/0.1554, allocations: 215 kB / 0.9561 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1555, allocations: 119.4 kB / 0.9562 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1566, allocations: 0.8067 MB / 0.957 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1566, allocations: 11.98 kB / 0.957 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1566, allocations: 0 / 0.957 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1566, allocations: 3.984 kB / 0.957 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.1581, allocations: 1.507 MB / 0.9585 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1581, allocations: 7.922 kB / 0.9585 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.1584, allocations: 151.8 kB / 0.9586 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.1588, allocations: 115.5 kB / 0.9587 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1588, allocations: 23.98 kB / 0.9588 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.1598, allocations: 1.887 MB / 0.9606 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1598, allocations: 0 / 0.9606 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.1607, allocations: 0.8452 MB / 0.9614 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.1609, allocations: 195.1 kB / 0.9616 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.161, allocations: 24 kB / 0.9616 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1612, allocations: 36.11 kB / 0.9617 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.1613, allocations: 84.78 kB / 0.9617 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.1613, allocations: 31.97 kB / 0.9618 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002086/0.1615, allocations: 366.8 kB / 0.9621 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1615, allocations: 4 kB / 0.9621 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005476/0.1621, allocations: 371 kB / 0.9625 GB, free: 8.504 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.001158/0.1633, allocations: 0.6444 MB / 0.9631 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.1639, allocations: 0.6288 MB / 0.9637 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1639, allocations: 4.188 kB / 0.9637 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.1643, allocations: 468.9 kB / 0.9642 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.165, allocations: 327 kB / 0.9645 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1668, allocations: 1.591 MB / 0.966 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1669, allocations: 203 kB / 0.9662 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.1673, allocations: 206.8 kB / 0.9664 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.1678, allocations: 365.9 kB / 0.9668 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.1678, allocations: 0 / 0.9668 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.01913/0.1869, allocations: 17.68 MB / 0.9841 GB, free: 2.801 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.577693861909211]