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.001362/0.001362, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00159/0.00159, allocations: 219.1 kB / 22.26 MB, free: 5.121 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.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 3.111/3.111, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 62.33 kB / 1.177 GB, free: 17.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 180.2 MB / 1.353 GB, free: 8.68 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007104/0.3557, allocations: 5.035 MB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.5422, allocations: 154.2 MB / 1.508 GB, free: 8.871 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.5432, allocations: 23.81 kB / 1.508 GB, free: 8.848 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.5439, allocations: 206.1 kB / 1.509 GB, free: 8.645 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.5459, allocations: 0.5665 MB / 1.509 GB, free: 8.078 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.5483, allocations: 0.9076 MB / 1.51 GB, free: 7.176 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.5504, allocations: 1.447 MB / 1.511 GB, free: 5.723 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.5513, allocations: 434.1 kB / 1.512 GB, free: 5.273 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.5523, allocations: 0.5217 MB / 1.512 GB, free: 4.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.553, allocations: 0.5251 MB / 1.513 GB, free: 4.223 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.5532, allocations: 123.9 kB / 1.513 GB, free: 4.102 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5543, allocations: 0.5113 MB / 1.513 GB, free: 3.59 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.5546, allocations: 307 kB / 1.514 GB, free: 3.289 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005797/0.5552, allocations: 0.5791 MB / 1.514 GB, free: 2.707 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.5576, allocations: 1.716 MB / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5576, allocations: 0 / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5576, allocations: 0 / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.5576, allocations: 0 / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002886/0.5605, allocations: 1.46 MB / 1.517 GB, free: 15.49 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5606, allocations: 8.031 kB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5607, allocations: 139.7 kB / 1.518 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5626, allocations: 291.9 kB / 1.518 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.564, allocations: 0.7218 MB / 1.518 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.5641, allocations: 66 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5642, allocations: 84 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.566, allocations: 0.9859 MB / 1.52 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.566, allocations: 4 kB / 1.52 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.5661, allocations: 36 kB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.5661, allocations: 20 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.5681, allocations: 1.167 MB / 1.521 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004768/0.5729, allocations: 3.026 MB / 1.524 GB, free: 8.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.5747, allocations: 0.8185 MB / 1.525 GB, free: 7.902 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.5752, allocations: 282.7 kB / 1.525 GB, free: 7.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.5753, allocations: 28.62 kB / 1.525 GB, free: 7.594 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009061/0.5762, allocations: 0.5018 MB / 1.525 GB, free: 7.074 MB / 1.217 GB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/0.5762, allocations: 0 / 1.525 GB, free: 7.074 MB / 1.217 GB Notification: Performance of matching and sorting (n=83): time 0.003317/0.5795, allocations: 1.16 MB / 1.526 GB, free: 5.91 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5797, allocations: 192.9 kB / 1.527 GB, free: 5.68 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.5806, allocations: 0.6645 MB / 1.527 GB, free: 5.008 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.5807, allocations: 41.7 kB / 1.527 GB, free: 4.961 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.5811, allocations: 429 kB / 1.528 GB, free: 4.535 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.5813, allocations: 277.6 kB / 1.528 GB, free: 4.262 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.5816, allocations: 154.6 kB / 1.528 GB, free: 4.102 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5818, allocations: 386.8 kB / 1.529 GB, free: 3.715 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.5823, allocations: 261.8 kB / 1.529 GB, free: 3.461 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.5829, allocations: 381.1 kB / 1.529 GB, free: 3.051 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.584, allocations: 0.6267 MB / 1.53 GB, free: 2.402 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.584, allocations: 0 / 1.53 GB, free: 2.402 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001992/0.586, allocations: 0.849 MB / 1.531 GB, free: 1.547 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.586, allocations: 8 kB / 1.531 GB, free: 1.539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.586, allocations: 64 / 1.531 GB, free: 1.539 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.5867, allocations: 88.95 kB / 1.531 GB, free: 1.449 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.5873, allocations: 163.7 kB / 1.531 GB, free: 1.289 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.5895, allocations: 1.532 MB / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.5903, allocations: 95.56 kB / 1.532 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.5903, allocations: 31.98 kB / 1.532 GB, free: 15.51 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (92): * Single equations (assignments): 91 * 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.000508/0.5908, allocations: 270.2 kB / 1.533 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.591, allocations: 91.44 kB / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.5934, allocations: 1.086 MB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5934, allocations: 11.94 kB / 1.534 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5935, allocations: 0 / 1.534 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5935, allocations: 7.984 kB / 1.534 GB, free: 14.03 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.5972, allocations: 2.091 MB / 1.536 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5972, allocations: 0 / 1.536 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.5978, allocations: 151.8 kB / 1.536 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.5982, allocations: 76.72 kB / 1.536 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.5983, allocations: 31.97 kB / 1.536 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.6002, allocations: 1.551 MB / 1.538 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6002, allocations: 0 / 1.538 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6023, allocations: 1.022 MB / 1.539 GB, free: 8.902 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.6028, allocations: 207 kB / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.6029, allocations: 20 kB / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.6035, allocations: 65.75 kB / 1.539 GB, free: 8.617 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.6037, allocations: 80.8 kB / 1.539 GB, free: 8.539 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.6038, allocations: 39.97 kB / 1.539 GB, free: 8.5 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006281/0.6044, allocations: 475 kB / 1.54 GB, free: 8.043 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6044, allocations: 0 / 1.54 GB, free: 8.043 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000951/0.6054, allocations: 335.1 kB / 1.54 GB, free: 7.715 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004227/0.6096, allocations: 2.078 MB / 1.542 GB, free: 5.785 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.6113, allocations: 0.7882 MB / 1.543 GB, free: 4.984 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6113, allocations: 384 / 1.543 GB, free: 4.984 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.6123, allocations: 0.5002 MB / 1.543 GB, free: 4.469 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.6136, allocations: 323.6 kB / 1.543 GB, free: 4.172 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6245, allocations: 6.432 MB / 1.55 GB, free: 13.57 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.6253, allocations: 1.035 MB / 1.551 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009017/0.6262, allocations: 275.1 kB / 1.551 GB, free: 12.24 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/0.6268, allocations: 403.2 kB / 1.551 GB, free: 11.84 MB / 1.248 GB Notification: Performance of SimCode: time 1.213e-06/0.6268, allocations: 0 / 1.551 GB, free: 11.84 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0654/0.6922, allocations: 23.29 MB / 1.574 GB, free: 4.754 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.66, allocations: 0 / 1.574 GB, free: 4.754 MB / 1.264 GB " [Timeout remaining time 285] (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/jenkins1/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: 21.465077873000155]