Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.0009079/0.0009079, 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.0009409/0.0009409, 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.8974/0.8974, 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.659/1.659, 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.588e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004418/0.004434, allocations: 4.709 MB / 0.7921 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1199/0.1243, allocations: 143.9 MB / 0.9326 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.125, allocations: 23.81 kB / 0.9326 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.1255, allocations: 194.2 kB / 0.9328 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1268, allocations: 0.5978 MB / 0.9334 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1281, allocations: 0.8919 MB / 0.9343 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000924/0.1291, allocations: 1.498 MB / 0.9357 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.1295, allocations: 418 kB / 0.9361 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/0.1302, allocations: 0.8069 MB / 0.9369 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1305, allocations: 390.8 kB / 0.9373 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1306, allocations: 119.9 kB / 0.9374 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.1312, allocations: 499.4 kB / 0.9379 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1314, allocations: 302.9 kB / 0.9382 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.1317, allocations: 387 kB / 0.9385 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1327, allocations: 1.273 MB / 0.9398 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1327, allocations: 0 / 0.9398 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1327, allocations: 0 / 0.9398 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1328, allocations: 0 / 0.9398 GB, free: 15.77 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001367/0.1341, allocations: 1.558 MB / 0.9413 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1341, allocations: 8.031 kB / 0.9413 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008445/0.135, allocations: 379.5 kB / 0.9417 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.1356, allocations: 0.7189 MB / 0.9424 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.1357, allocations: 70.12 kB / 0.9424 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.1358, allocations: 99.98 kB / 0.9425 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.1365, allocations: 0.9389 MB / 0.9435 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1365, allocations: 4 kB / 0.9435 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.1366, allocations: 36 kB / 0.9435 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1366, allocations: 27.92 kB / 0.9435 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.1372, allocations: 0.704 MB / 0.9442 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.1395, allocations: 2.627 MB / 0.9468 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.14, allocations: 0.5097 MB / 0.9473 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1402, allocations: 165.5 kB / 0.9474 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.1403, allocations: 60.7 kB / 0.9475 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.1406, allocations: 474.7 kB / 0.9479 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=91): time 1.894e-06/0.1406, allocations: 0 / 0.9479 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91): time 0.001166/0.1418, allocations: 0.7884 MB / 0.9487 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.1419, allocations: 196.9 kB / 0.9489 GB, free: 6.066 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.1422, allocations: 0.5734 MB / 0.9495 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.1423, allocations: 49.7 kB / 0.9495 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1425, allocations: 467.8 kB / 0.95 GB, free: 4.957 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1426, allocations: 313.3 kB / 0.9503 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1428, allocations: 200.1 kB / 0.9504 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1429, allocations: 0.5779 MB / 0.951 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1431, allocations: 109.9 kB / 0.9511 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.1433, allocations: 388.8 kB / 0.9515 GB, free: 3.305 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.1436, allocations: 378.1 kB / 0.9518 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1436, allocations: 0 / 0.9518 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009069/0.1446, allocations: 0.6566 MB / 0.9525 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1446, allocations: 8.188 kB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1446, allocations: 4 kB / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.145, allocations: 127.5 kB / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.1453, allocations: 187.8 kB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.1464, allocations: 1.883 MB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1466, allocations: 85.59 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.1467, allocations: 39.95 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (113): * Single equations (assignments): 112 * 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.0001763/0.1468, allocations: 219 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.147, allocations: 123.4 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009048/0.1479, allocations: 0.8111 MB / 0.9559 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1479, allocations: 8 kB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1479, allocations: 3.938 kB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1479, allocations: 3.984 kB / 0.9559 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1493, allocations: 1.499 MB / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1493, allocations: 0 / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.1496, allocations: 151.7 kB / 0.9575 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.1499, allocations: 123.5 kB / 0.9576 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.1499, allocations: 23.98 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.151, allocations: 1.887 MB / 0.9595 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.151, allocations: 0 / 0.9595 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.1517, allocations: 0.8492 MB / 0.9603 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.1519, allocations: 199 kB / 0.9605 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.152, allocations: 23.98 kB / 0.9605 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1522, allocations: 39.97 kB / 0.9606 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.1523, allocations: 80.8 kB / 0.9606 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.1523, allocations: 27.97 kB / 0.9607 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001937/0.1525, allocations: 370.9 kB / 0.961 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1525, allocations: 0 / 0.961 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005107/0.153, allocations: 347.1 kB / 0.9614 GB, free: 8.812 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 (103): * Single equations (assignments): 92 * 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.001028/0.154, allocations: 0.6289 MB / 0.962 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006096/0.1546, allocations: 0.6445 MB / 0.9626 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1546, allocations: 0 / 0.9626 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.155, allocations: 457 kB / 0.963 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.1556, allocations: 340.9 kB / 0.9634 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1573, allocations: 1.535 MB / 0.9649 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.1574, allocations: 199.2 kB / 0.965 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.1578, allocations: 195.2 kB / 0.9652 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.1583, allocations: 385.9 kB / 0.9656 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.1583, allocations: 0 / 0.9656 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of Templates: time 0.01837/0.1766, allocations: 17.65 MB / 0.9828 GB, free: 3.211 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.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.231780769303441]