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.0008963/0.0008963, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009077/0.0009077, allocations: 169 kB / 23.27 MB, free: 1.223 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.905/0.905, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.26/2.26, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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 9.52e-07/9.52e-07, allocations: 0 / 0.8897 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.293e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004232/0.004245, allocations: 4.716 MB / 0.8943 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1138/0.118, allocations: 143.9 MB / 1.035 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007125/0.1187, allocations: 23.81 kB / 1.035 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1192, allocations: 194.2 kB / 1.035 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1205, allocations: 0.5978 MB / 1.036 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1218, allocations: 0.8842 MB / 1.036 GB, free: 2.965 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1229, allocations: 1.513 MB / 1.038 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.1234, allocations: 414 kB / 1.038 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1245, allocations: 0.8029 MB / 1.039 GB, free: 216 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.1248, allocations: 390.8 kB / 1.039 GB, free: 15.83 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1249, allocations: 116 kB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.1255, allocations: 495.4 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1257, allocations: 306.9 kB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.1259, allocations: 387 kB / 1.041 GB, free: 14.55 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1269, allocations: 1.273 MB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1269, allocations: 0 / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.232e-06/0.127, allocations: 0 / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.127, allocations: 0 / 1.042 GB, free: 13.27 MB / 1.01 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.001311/0.1283, allocations: 1.55 MB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1283, allocations: 12.03 kB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.1291, allocations: 371.5 kB / 1.044 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.1298, allocations: 0.7266 MB / 1.045 GB, free: 10.55 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.1298, allocations: 78.11 kB / 1.045 GB, free: 10.47 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.1299, allocations: 96 kB / 1.045 GB, free: 10.38 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.1306, allocations: 0.9389 MB / 1.046 GB, free: 9.332 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1306, allocations: 3.938 kB / 1.046 GB, free: 9.328 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.1306, allocations: 36 kB / 1.046 GB, free: 9.293 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1306, allocations: 24 kB / 1.046 GB, free: 9.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.1315, allocations: 0.7001 MB / 1.046 GB, free: 8.566 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1335, allocations: 2.629 MB / 1.049 GB, free: 5.871 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.1341, allocations: 0.4959 MB / 1.049 GB, free: 5.371 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1342, allocations: 170.5 kB / 1.05 GB, free: 5.199 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.1343, allocations: 48.72 kB / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.1346, allocations: 482.7 kB / 1.05 GB, free: 4.633 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 2.224e-06/0.1346, allocations: 0 / 1.05 GB, free: 4.633 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.001166/0.1358, allocations: 0.7885 MB / 1.051 GB, free: 3.832 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.1359, allocations: 204.8 kB / 1.051 GB, free: 3.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1362, allocations: 0.5694 MB / 1.052 GB, free: 3.008 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.1362, allocations: 49.7 kB / 1.052 GB, free: 2.953 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1364, allocations: 467.8 kB / 1.052 GB, free: 2.488 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.1366, allocations: 313.3 kB / 1.052 GB, free: 2.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1367, allocations: 204.1 kB / 1.053 GB, free: 1.973 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005911/0.1373, allocations: 0.5701 MB / 1.053 GB, free: 1.391 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1375, allocations: 113.9 kB / 1.053 GB, free: 1.277 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1377, allocations: 384.8 kB / 1.054 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.1381, allocations: 386 kB / 1.054 GB, free: 448 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1381, allocations: 4 kB / 1.054 GB, free: 444 kB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.4557/0.5938, allocations: 0.6425 MB / 1.055 GB, free: 65.54 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5938, allocations: 9.156 kB / 1.055 GB, free: 65.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5938, allocations: 0 / 1.055 GB, free: 65.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.5942, allocations: 133.1 kB / 1.055 GB, free: 65.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.5946, allocations: 188.1 kB / 1.055 GB, free: 65.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009839/0.5956, allocations: 1.87 MB / 1.057 GB, free: 63.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.596, allocations: 83.81 kB / 1.057 GB, free: 63.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.596, allocations: 35.19 kB / 1.057 GB, free: 63.81 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.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.0002997/0.5963, allocations: 228.4 kB / 1.057 GB, free: 63.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5964, allocations: 114.8 kB / 1.057 GB, free: 63.64 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000923/0.5974, allocations: 0.8076 MB / 1.058 GB, free: 63.58 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5974, allocations: 10.53 kB / 1.058 GB, free: 63.58 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.5974, allocations: 0 / 1.058 GB, free: 63.58 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5974, allocations: 7.219 kB / 1.058 GB, free: 63.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.5989, allocations: 1.497 MB / 1.06 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5989, allocations: 3.25 kB / 1.06 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.5991, allocations: 149.7 kB / 1.06 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.5994, allocations: 115.7 kB / 1.06 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.5995, allocations: 28.2 kB / 1.06 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008641/0.6003, allocations: 1.884 MB / 1.062 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6003, allocations: 0.7812 kB / 1.062 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.601, allocations: 0.8423 MB / 1.062 GB, free: 61.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.6012, allocations: 197.8 kB / 1.063 GB, free: 61.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.6013, allocations: 24.69 kB / 1.063 GB, free: 61.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6015, allocations: 45.5 kB / 1.063 GB, free: 61.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.6016, allocations: 76.8 kB / 1.063 GB, free: 61.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.6016, allocations: 31.5 kB / 1.063 GB, free: 61.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001766/0.6018, allocations: 367.2 kB / 1.063 GB, free: 61.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6018, allocations: 0 / 1.063 GB, free: 61.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005883/0.6024, allocations: 345.7 kB / 1.063 GB, free: 61.03 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.001076/0.6035, allocations: 0.6282 MB / 1.064 GB, free: 60.92 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006017/0.6041, allocations: 0.6338 MB / 1.065 GB, free: 60.71 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6041, allocations: 0 / 1.065 GB, free: 60.71 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.6044, allocations: 464.3 kB / 1.065 GB, free: 60.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.605, allocations: 339.3 kB / 1.065 GB, free: 60.49 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.6067, allocations: 1.538 MB / 1.067 GB, free: 59.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.6068, allocations: 196.2 kB / 1.067 GB, free: 59.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.6072, allocations: 197.6 kB / 1.067 GB, free: 59.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.6077, allocations: 378.4 kB / 1.068 GB, free: 59.59 MB / 1.01 GB Notification: Performance of SimCode: time 6.51e-07/0.6077, allocations: 0 / 1.068 GB, free: 59.59 MB / 1.01 GB Notification: Performance of Templates: time 0.01836/0.626, allocations: 17.64 MB / 1.085 GB, free: 58.02 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.055274358019233]