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.0008954/0.0008954, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001098/0.001098, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8901/0.8901, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.743/1.743, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.178e-05, allocations: 12.61 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004235/0.004257, allocations: 4.471 MB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5192/0.5235, allocations: 132.8 MB / 1.134 GB, free: 14.87 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006412/0.5241, allocations: 24.16 kB / 1.134 GB, free: 14.86 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.5246, allocations: 202.5 kB / 1.134 GB, free: 14.72 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5259, allocations: 0.5873 MB / 1.134 GB, free: 14.38 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.5273, allocations: 0.8954 MB / 1.135 GB, free: 13.91 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.5285, allocations: 1.506 MB / 1.137 GB, free: 13.12 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.5291, allocations: 415 kB / 1.137 GB, free: 12.88 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.5299, allocations: 0.7683 MB / 1.138 GB, free: 12.52 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.5303, allocations: 423.2 kB / 1.138 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5305, allocations: 129.4 kB / 1.138 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006596/0.5311, allocations: 0.492 MB / 1.139 GB, free: 12.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.5314, allocations: 325.9 kB / 1.139 GB, free: 12.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.5317, allocations: 408.4 kB / 1.14 GB, free: 11.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.5333, allocations: 1.841 MB / 1.141 GB, free: 11.07 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5333, allocations: 0 / 1.141 GB, free: 11.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5333, allocations: 0 / 1.141 GB, free: 11.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.5333, allocations: 1.25 kB / 1.141 GB, free: 11.07 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.001779/0.5351, allocations: 1.463 MB / 1.143 GB, free: 10.12 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5352, allocations: 11.08 kB / 1.143 GB, free: 10.12 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.5353, allocations: 141.4 kB / 1.143 GB, free: 10.03 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.5362, allocations: 287.9 kB / 1.143 GB, free: 9.953 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009826/0.5372, allocations: 0.7339 MB / 1.144 GB, free: 9.496 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.5373, allocations: 81.41 kB / 1.144 GB, free: 9.457 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5374, allocations: 96.91 kB / 1.144 GB, free: 9.422 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5388, allocations: 1.251 MB / 1.145 GB, free: 8.645 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5388, allocations: 4.688 kB / 1.145 GB, free: 8.641 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.5389, allocations: 38.75 kB / 1.145 GB, free: 8.613 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5389, allocations: 21.78 kB / 1.145 GB, free: 8.613 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5403, allocations: 1.124 MB / 1.147 GB, free: 8.344 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.5435, allocations: 2.659 MB / 1.149 GB, free: 6.699 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5447, allocations: 0.8754 MB / 1.15 GB, free: 6.367 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.5451, allocations: 306.3 kB / 1.15 GB, free: 6.246 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.5452, allocations: 31.02 kB / 1.15 GB, free: 6.238 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.5458, allocations: 0.6163 MB / 1.151 GB, free: 5.895 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 2.174e-06/0.5458, allocations: 3.281 kB / 1.151 GB, free: 5.895 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.001979/0.5478, allocations: 1.203 MB / 1.152 GB, free: 5.461 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5479, allocations: 196 kB / 1.152 GB, free: 5.242 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.5486, allocations: 0.6715 MB / 1.153 GB, free: 4.945 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.5486, allocations: 48.55 kB / 1.153 GB, free: 4.898 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5488, allocations: 420.3 kB / 1.153 GB, free: 4.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.549, allocations: 303 kB / 1.154 GB, free: 4.328 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.5492, allocations: 171.5 kB / 1.154 GB, free: 4.246 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5493, allocations: 397.8 kB / 1.154 GB, free: 3.895 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.5497, allocations: 281.2 kB / 1.155 GB, free: 3.797 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.5502, allocations: 0.53 MB / 1.155 GB, free: 3.422 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.551, allocations: 0.6665 MB / 1.156 GB, free: 3.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.551, allocations: 0.6094 kB / 1.156 GB, free: 3.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001259/0.5523, allocations: 0.9093 MB / 1.157 GB, free: 2.727 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5523, allocations: 4.969 kB / 1.157 GB, free: 2.727 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5523, allocations: 3.453 kB / 1.157 GB, free: 2.727 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.5526, allocations: 83.73 kB / 1.157 GB, free: 2.707 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.553, allocations: 176.2 kB / 1.157 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.5543, allocations: 1.514 MB / 1.158 GB, free: 1.285 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.5547, allocations: 112.5 kB / 1.158 GB, free: 1.227 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.5547, allocations: 36.69 kB / 1.158 GB, free: 1.219 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: 25 (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 (105): * Single equations (assignments): 104 * 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.0002895/0.555, allocations: 280.9 kB / 1.159 GB, free: 1.008 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5551, allocations: 90.38 kB / 1.159 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.5567, allocations: 1.108 MB / 1.16 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5567, allocations: 15.08 kB / 1.16 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5567, allocations: 0 / 1.16 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5567, allocations: 9.906 kB / 1.16 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.5593, allocations: 2.07 MB / 1.162 GB, free: 15.51 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5593, allocations: 0 / 1.162 GB, free: 15.51 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.5596, allocations: 154.8 kB / 1.162 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.5598, allocations: 73.38 kB / 1.162 GB, free: 15.48 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.5599, allocations: 29.36 kB / 1.162 GB, free: 15.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.561, allocations: 1.559 MB / 1.164 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.561, allocations: 1.062 kB / 1.164 GB, free: 14.04 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.5624, allocations: 1.061 MB / 1.165 GB, free: 13.55 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5627, allocations: 206.2 kB / 1.165 GB, free: 13.44 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.5628, allocations: 25.3 kB / 1.165 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.5632, allocations: 61.97 kB / 1.165 GB, free: 13.41 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5633, allocations: 79.11 kB / 1.165 GB, free: 13.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.5634, allocations: 33.12 kB / 1.165 GB, free: 13.4 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000488/0.5639, allocations: 485.2 kB / 1.166 GB, free: 13.18 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5639, allocations: 0 / 1.166 GB, free: 13.18 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007859/0.5647, allocations: 336.8 kB / 1.166 GB, free: 13.09 MB / 1.026 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.002535/0.5672, allocations: 2.153 MB / 1.168 GB, free: 11.92 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.5684, allocations: 0.8461 MB / 1.169 GB, free: 11.57 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5684, allocations: 0 / 1.169 GB, free: 11.57 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.569, allocations: 0.5031 MB / 1.169 GB, free: 11.33 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.5698, allocations: 328.2 kB / 1.17 GB, free: 11.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.5771, allocations: 6.696 MB / 1.176 GB, free: 7.781 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5775, allocations: 454 kB / 1.177 GB, free: 7.645 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0006066/0.5781, allocations: 292.1 kB / 1.177 GB, free: 7.551 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5785, allocations: 403.8 kB / 1.177 GB, free: 7.277 MB / 1.026 GB Notification: Performance of SimCode: time 5.81e-07/0.5786, allocations: 0 / 1.177 GB, free: 7.277 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.6163, allocations: 25.05 MB / 1.202 GB, free: 13.01 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.596, allocations: 9.594 kB / 1.202 GB, free: 13.01 MB / 1.042 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/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: 13.796048752963543]