Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009749/0.0009749, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009416/0.0009416, allocations: 169 kB / 23.02 MB, free: 1.551 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.9076/0.9076, allocations: 177.1 MB / 203.4 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.102/2.102, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.725e-05, allocations: 3.078 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005116/0.005133, allocations: 4.814 MB / 0.8828 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1226/0.1277, allocations: 146.6 MB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.1284, allocations: 27.81 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.1289, allocations: 206.1 kB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1303, allocations: 0.5746 MB / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1318, allocations: 0.9036 MB / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1329, allocations: 1.502 MB / 1.029 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.1334, allocations: 421.9 kB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.1341, allocations: 0.7602 MB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1345, allocations: 430.8 kB / 1.031 GB, free: 9.582 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.1346, allocations: 124 kB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006479/0.1352, allocations: 0.4954 MB / 1.031 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.1354, allocations: 319 kB / 1.032 GB, free: 8.652 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.1357, allocations: 410.9 kB / 1.032 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1369, allocations: 1.3 MB / 1.033 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1369, allocations: 0 / 1.033 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1369, allocations: 4 kB / 1.033 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1369, allocations: 0 / 1.033 GB, free: 6.941 MB / 0.9948 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.001764/0.1387, allocations: 1.559 MB / 1.035 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1387, allocations: 8.031 kB / 1.035 GB, free: 5.328 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.1397, allocations: 375.5 kB / 1.035 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008521/0.1405, allocations: 0.7287 MB / 1.036 GB, free: 4.207 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.1406, allocations: 70.12 kB / 1.036 GB, free: 4.141 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.1407, allocations: 100 kB / 1.036 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1417, allocations: 1.078 MB / 1.037 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1417, allocations: 3.938 kB / 1.037 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.1418, allocations: 40 kB / 1.037 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1418, allocations: 20 kB / 1.037 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.1427, allocations: 0.8231 MB / 1.038 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.1453, allocations: 2.783 MB / 1.041 GB, free: 15.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008402/0.1461, allocations: 0.5475 MB / 1.041 GB, free: 14.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.1463, allocations: 182.6 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.1464, allocations: 32.92 kB / 1.041 GB, free: 14.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.1471, allocations: 0.5144 MB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 2.665e-06/0.1471, allocations: 4 kB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.00157/0.1486, allocations: 0.8704 MB / 1.043 GB, free: 12.87 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1487, allocations: 200.9 kB / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1492, allocations: 0.5854 MB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.1492, allocations: 53.69 kB / 1.044 GB, free: 11.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1495, allocations: 471.9 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.1496, allocations: 309.4 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.1498, allocations: 192.2 kB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.15, allocations: 0.5664 MB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1502, allocations: 153.8 kB / 1.045 GB, free: 10.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.1506, allocations: 424.8 kB / 1.046 GB, free: 9.793 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1511, allocations: 446.1 kB / 1.046 GB, free: 9.328 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1511, allocations: 4 kB / 1.046 GB, free: 9.324 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001039/0.1522, allocations: 0.7152 MB / 1.047 GB, free: 8.598 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1522, allocations: 8 kB / 1.047 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1522, allocations: 0 / 1.047 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.1527, allocations: 131.7 kB / 1.047 GB, free: 8.457 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.1531, allocations: 191.7 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.1546, allocations: 1.906 MB / 1.049 GB, free: 6.234 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1549, allocations: 83.48 kB / 1.049 GB, free: 6.152 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.1549, allocations: 43.97 kB / 1.049 GB, free: 6.109 MB / 1.01 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.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 (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.000205/0.1552, allocations: 223.2 kB / 1.049 GB, free: 5.883 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1553, allocations: 123.4 kB / 1.049 GB, free: 5.762 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1565, allocations: 0.8577 MB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1565, allocations: 8 kB / 1.05 GB, free: 4.879 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1565, allocations: 0 / 1.05 GB, free: 4.879 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1565, allocations: 7.984 kB / 1.05 GB, free: 4.871 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.1584, allocations: 1.69 MB / 1.052 GB, free: 3.125 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1584, allocations: 0 / 1.052 GB, free: 3.125 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1587, allocations: 155.8 kB / 1.052 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003619/0.1591, allocations: 115.6 kB / 1.052 GB, free: 2.855 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.1591, allocations: 23.98 kB / 1.052 GB, free: 2.832 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1603, allocations: 1.938 MB / 1.054 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1603, allocations: 3.984 kB / 1.054 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4167/0.577, allocations: 0.896 MB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.5774, allocations: 201.8 kB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.5775, allocations: 25.47 kB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.5778, allocations: 51.44 kB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5779, allocations: 78.69 kB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.578, allocations: 42.38 kB / 1.055 GB, free: 70 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002953/0.5783, allocations: 392.6 kB / 1.056 GB, free: 69.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5783, allocations: 1.562 kB / 1.056 GB, free: 69.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006625/0.5789, allocations: 350 kB / 1.056 GB, free: 69.87 MB / 1.01 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 (102): * Single equations (assignments): 91 * 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.001175/0.5801, allocations: 0.6174 MB / 1.057 GB, free: 69.74 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.581, allocations: 0.7056 MB / 1.057 GB, free: 69.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.581, allocations: 3.906 kB / 1.057 GB, free: 69.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.5815, allocations: 494.5 kB / 1.058 GB, free: 69.37 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.5822, allocations: 340.2 kB / 1.058 GB, free: 69.36 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.5842, allocations: 1.564 MB / 1.06 GB, free: 68.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.5843, allocations: 196 kB / 1.06 GB, free: 68.58 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.5848, allocations: 273 kB / 1.06 GB, free: 68.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.585, allocations: 116 kB / 1.06 GB, free: 68.55 MB / 1.01 GB Notification: Performance of SimCode: time 5.91e-07/0.585, allocations: 0 / 1.06 GB, free: 68.55 MB / 1.01 GB Notification: Performance of Templates: time 0.01704/0.602, allocations: 16.51 MB / 1.076 GB, free: 67.06 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.359126880764961]