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.0009916/0.0009916, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001023/0.001023, allocations: 173 kB / 23.5 MB, free: 1.055 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.9116/0.9116, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.045/2.045, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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 2.104e-06/2.104e-06, allocations: 0 / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.696e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005049/0.005076, allocations: 4.768 MB / 0.8828 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.1328, allocations: 146.4 MB / 1.026 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.1335, allocations: 23.81 kB / 1.026 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.134, allocations: 206.1 kB / 1.026 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1353, allocations: 0.5785 MB / 1.026 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1368, allocations: 0.8997 MB / 1.027 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1379, allocations: 1.505 MB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1385, allocations: 406.1 kB / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.1391, allocations: 0.7718 MB / 1.03 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.1395, allocations: 426.7 kB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1396, allocations: 128 kB / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.1402, allocations: 0.4916 MB / 1.031 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.1404, allocations: 326.9 kB / 1.031 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.1407, allocations: 407 kB / 1.032 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1418, allocations: 1.3 MB / 1.033 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1418, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1418, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1418, allocations: 4 kB / 1.033 GB, free: 7.551 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.001604/0.1434, allocations: 1.558 MB / 1.034 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1435, allocations: 8.031 kB / 1.035 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.1445, allocations: 371.5 kB / 1.035 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.1455, allocations: 0.7325 MB / 1.036 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.1456, allocations: 70.12 kB / 1.036 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.1457, allocations: 96 kB / 1.036 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1467, allocations: 1.078 MB / 1.037 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1467, allocations: 0 / 1.037 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.1468, allocations: 40 kB / 1.037 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1468, allocations: 24 kB / 1.037 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.1476, allocations: 0.8192 MB / 1.038 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.1502, allocations: 2.786 MB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.1511, allocations: 0.5563 MB / 1.041 GB, free: 15.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1513, allocations: 182.6 kB / 1.041 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.1514, allocations: 32.92 kB / 1.041 GB, free: 14.92 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.1519, allocations: 0.5067 MB / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 1.984e-06/0.1519, allocations: 0 / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.00169/0.1536, allocations: 0.8781 MB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.1537, allocations: 196.9 kB / 1.043 GB, free: 13.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.1541, allocations: 0.5893 MB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.1542, allocations: 45.7 kB / 1.043 GB, free: 12.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1544, allocations: 475.8 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.1546, allocations: 309.4 kB / 1.044 GB, free: 11.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1548, allocations: 192.2 kB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1549, allocations: 0.5625 MB / 1.045 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.1552, allocations: 157.9 kB / 1.045 GB, free: 10.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.1555, allocations: 416.8 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.1561, allocations: 450.1 kB / 1.046 GB, free: 9.945 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.1561, allocations: 4 kB / 1.046 GB, free: 9.941 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001027/0.1571, allocations: 0.7152 MB / 1.046 GB, free: 9.215 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1571, allocations: 8 kB / 1.046 GB, free: 9.207 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1571, allocations: 192 / 1.046 GB, free: 9.207 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.1576, allocations: 127.6 kB / 1.047 GB, free: 9.078 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.158, allocations: 191.7 kB / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.1594, allocations: 1.902 MB / 1.049 GB, free: 6.859 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.1597, allocations: 99.11 kB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.1597, allocations: 43.97 kB / 1.049 GB, free: 6.723 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.0003604/0.1601, allocations: 211.2 kB / 1.049 GB, free: 6.508 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1602, allocations: 127.4 kB / 1.049 GB, free: 6.383 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1614, allocations: 0.8577 MB / 1.05 GB, free: 5.508 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1614, allocations: 12 kB / 1.05 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1614, allocations: 0 / 1.05 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1614, allocations: 7.922 kB / 1.05 GB, free: 5.488 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.1632, allocations: 1.698 MB / 1.052 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1632, allocations: 0 / 1.052 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.1635, allocations: 147.8 kB / 1.052 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/0.1639, allocations: 119.6 kB / 1.052 GB, free: 3.469 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.1639, allocations: 27.97 kB / 1.052 GB, free: 3.441 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.165, allocations: 1.93 MB / 1.054 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.165, allocations: 0 / 1.054 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.166, allocations: 0.9079 MB / 1.055 GB, free: 460 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.1663, allocations: 199 kB / 1.055 GB, free: 260 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.1663, allocations: 24 kB / 1.055 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.1666, allocations: 47.95 kB / 1.055 GB, free: 188 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1667, allocations: 72.86 kB / 1.055 GB, free: 116 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.1668, allocations: 39.97 kB / 1.055 GB, free: 76 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4214/0.5882, allocations: 393.7 kB / 1.055 GB, free: 70.51 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5882, allocations: 0 / 1.055 GB, free: 70.51 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009384/0.5891, allocations: 354.3 kB / 1.056 GB, free: 70.51 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.001147/0.5903, allocations: 0.625 MB / 1.056 GB, free: 70.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009591/0.5912, allocations: 0.7028 MB / 1.057 GB, free: 70.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5912, allocations: 0 / 1.057 GB, free: 70.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.5916, allocations: 0.4895 MB / 1.057 GB, free: 70.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.5924, allocations: 345.9 kB / 1.058 GB, free: 69.99 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.5944, allocations: 1.563 MB / 1.059 GB, free: 69.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.5945, allocations: 198.6 kB / 1.06 GB, free: 69.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004659/0.595, allocations: 258.3 kB / 1.06 GB, free: 69.19 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.5951, allocations: 116.7 kB / 1.06 GB, free: 69.19 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.5951, allocations: 0 / 1.06 GB, free: 69.19 MB / 1.01 GB Notification: Performance of Templates: time 0.01714/0.6123, allocations: 16.51 MB / 1.076 GB, free: 67.73 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.168298566015437]