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.001748/0.001748, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002002/0.002002, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.909/2.909, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.024e-06/2.024e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.171e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007215/0.007246, allocations: 4.492 MB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.7033/0.7106, allocations: 132.8 MB / 1.134 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.7114, allocations: 26.02 kB / 1.134 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.712, allocations: 205 kB / 1.134 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.7135, allocations: 0.5822 MB / 1.135 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.7154, allocations: 0.8949 MB / 1.136 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.7169, allocations: 1.513 MB / 1.137 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.7175, allocations: 412 kB / 1.138 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009243/0.7184, allocations: 0.7695 MB / 1.138 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.719, allocations: 420.5 kB / 1.139 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.7191, allocations: 125.9 kB / 1.139 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009365/0.7201, allocations: 0.4984 MB / 1.139 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.7203, allocations: 319.5 kB / 1.14 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.7207, allocations: 410.6 kB / 1.14 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.7225, allocations: 1.83 MB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7225, allocations: 3.141 kB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7225, allocations: 0.9375 kB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.7225, allocations: 2.938 kB / 1.142 GB, free: 44.97 MB / 1.076 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.002254/0.7247, allocations: 1.456 MB / 1.143 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.7248, allocations: 11.34 kB / 1.143 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.7266, allocations: 291.6 kB / 1.144 GB, free: 44.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.7276, allocations: 0.73 MB / 1.144 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.7277, allocations: 73.39 kB / 1.144 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.7278, allocations: 94.66 kB / 1.144 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.7293, allocations: 1.256 MB / 1.146 GB, free: 43.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.7293, allocations: 4.812 kB / 1.146 GB, free: 43.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.7294, allocations: 36.06 kB / 1.146 GB, free: 43.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.7294, allocations: 23.81 kB / 1.146 GB, free: 43.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.7311, allocations: 1.124 MB / 1.147 GB, free: 43.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.735, allocations: 2.543 MB / 1.149 GB, free: 42.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.7367, allocations: 0.8674 MB / 1.15 GB, free: 42.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/0.7372, allocations: 302.8 kB / 1.15 GB, free: 42.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.7372, allocations: 26.59 kB / 1.151 GB, free: 42.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.738, allocations: 0.6279 MB / 1.151 GB, free: 42.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=91): time 2.945e-06/0.738, allocations: 0 / 1.151 GB, free: 42.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=91): time 0.003157/0.7412, allocations: 1.196 MB / 1.152 GB, free: 42.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.7413, allocations: 202.9 kB / 1.152 GB, free: 41.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.7419, allocations: 0.6183 MB / 1.153 GB, free: 41.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/0.742, allocations: 48.52 kB / 1.153 GB, free: 41.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.7423, allocations: 415.8 kB / 1.154 GB, free: 41.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7424, allocations: 311.8 kB / 1.154 GB, free: 41.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.7427, allocations: 184.6 kB / 1.154 GB, free: 41.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7428, allocations: 392.8 kB / 1.154 GB, free: 40.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.7433, allocations: 304.3 kB / 1.155 GB, free: 40.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.7439, allocations: 0.5398 MB / 1.155 GB, free: 40.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.745, allocations: 0.6824 MB / 1.156 GB, free: 40.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.745, allocations: 1.062 kB / 1.156 GB, free: 40.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001952/0.7469, allocations: 0.9539 MB / 1.157 GB, free: 40.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7469, allocations: 5.5 kB / 1.157 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7469, allocations: 0 / 1.157 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.7475, allocations: 90.25 kB / 1.157 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.7482, allocations: 179.3 kB / 1.157 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.75, allocations: 1.507 MB / 1.159 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.7508, allocations: 99.58 kB / 1.159 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.7509, allocations: 39.2 kB / 1.159 GB, free: 39.29 MB / 1.076 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.0004347/0.7513, allocations: 287.5 kB / 1.159 GB, free: 39.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.7514, allocations: 92.59 kB / 1.159 GB, free: 39.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.7537, allocations: 1.11 MB / 1.16 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.7537, allocations: 12.47 kB / 1.16 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7537, allocations: 0 / 1.16 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7537, allocations: 8.594 kB / 1.16 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.7569, allocations: 1.944 MB / 1.162 GB, free: 38.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7569, allocations: 4.844 kB / 1.162 GB, free: 38.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.7575, allocations: 148.9 kB / 1.162 GB, free: 38.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.7579, allocations: 76.97 kB / 1.162 GB, free: 38.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.758, allocations: 25.88 kB / 1.162 GB, free: 38.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.7595, allocations: 1.518 MB / 1.164 GB, free: 37.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7595, allocations: 2.562 kB / 1.164 GB, free: 37.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.7613, allocations: 1.054 MB / 1.165 GB, free: 37.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.7617, allocations: 204.7 kB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.7618, allocations: 28.28 kB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.7625, allocations: 64 kB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.7626, allocations: 78.17 kB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.7627, allocations: 37.12 kB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004388/0.7631, allocations: 444.6 kB / 1.166 GB, free: 37.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7631, allocations: 0 / 1.166 GB, free: 37.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008591/0.764, allocations: 348.9 kB / 1.166 GB, free: 36.98 MB / 1.076 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.001995/0.766, allocations: 0.6605 MB / 1.167 GB, free: 36.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.768, allocations: 0.8683 MB / 1.167 GB, free: 36.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.768, allocations: 1.094 kB / 1.167 GB, free: 36.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.769, allocations: 0.5126 MB / 1.168 GB, free: 36.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.7704, allocations: 312.6 kB / 1.168 GB, free: 36.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.7734, allocations: 1.718 MB / 1.17 GB, free: 35.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.7739, allocations: 451.6 kB / 1.17 GB, free: 35.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000881/0.7747, allocations: 270.7 kB / 1.171 GB, free: 35.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.7751, allocations: 123.2 kB / 1.171 GB, free: 35.68 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/0.7751, allocations: 0 / 1.171 GB, free: 35.68 MB / 1.076 GB Notification: Performance of Templates: time 0.03149/0.8066, allocations: 16.35 MB / 1.187 GB, free: 33.88 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.474091857671738]