Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001411/0.001411, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001499/0.001499, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.117/3.117, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.001962/0.001962, allocations: 66.64 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1958/0.5283, allocations: 166.7 MB / 1.511 GB, free: 2.621 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006403/0.5347, allocations: 4.615 MB / 1.515 GB, free: 14 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.5351, allocations: 15.88 kB / 1.515 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.5356, allocations: 127 kB / 1.515 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.5374, allocations: 0.5679 MB / 1.516 GB, free: 13.29 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.5398, allocations: 0.777 MB / 1.517 GB, free: 12.51 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.5407, allocations: 0.5806 MB / 1.517 GB, free: 11.93 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.5411, allocations: 181.2 kB / 1.517 GB, free: 11.74 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5428, allocations: 0.6849 MB / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.5436, allocations: 306.8 kB / 1.518 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.5436, allocations: 16 kB / 1.518 GB, free: 10.74 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.5458, allocations: 1.076 MB / 1.519 GB, free: 9.66 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.5459, allocations: 95.64 kB / 1.519 GB, free: 9.566 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.5461, allocations: 131.3 kB / 1.519 GB, free: 9.438 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.5477, allocations: 0.7088 MB / 1.52 GB, free: 8.727 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5477, allocations: 0 / 1.52 GB, free: 8.727 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5477, allocations: 0 / 1.52 GB, free: 8.727 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5478, allocations: 3.938 kB / 1.52 GB, free: 8.723 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001214/0.549, allocations: 0.6066 MB / 1.521 GB, free: 8.066 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.549, allocations: 19.98 kB / 1.521 GB, free: 8.047 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.5491, allocations: 50.55 kB / 1.521 GB, free: 7.988 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/0.5498, allocations: 79.69 kB / 1.521 GB, free: 7.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.5503, allocations: 295.5 kB / 1.521 GB, free: 7.582 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5503, allocations: 12 kB / 1.521 GB, free: 7.57 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.5503, allocations: 24 kB / 1.521 GB, free: 7.547 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.5509, allocations: 283.4 kB / 1.522 GB, free: 7.242 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5509, allocations: 0 / 1.522 GB, free: 7.242 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.5509, allocations: 15.88 kB / 1.522 GB, free: 7.227 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5509, allocations: 8 kB / 1.522 GB, free: 7.219 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.5514, allocations: 207.5 kB / 1.522 GB, free: 7.016 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.5531, allocations: 1.245 MB / 1.523 GB, free: 5.691 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.5534, allocations: 177 kB / 1.523 GB, free: 5.473 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5536, allocations: 108.2 kB / 1.523 GB, free: 5.352 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.5545, allocations: 331.2 kB / 1.524 GB, free: 4.973 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.5545, allocations: 50.67 kB / 1.524 GB, free: 4.914 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.5545, allocations: 0 / 1.524 GB, free: 4.914 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0009404/0.5555, allocations: 277.2 kB / 1.524 GB, free: 4.637 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5556, allocations: 158.7 kB / 1.524 GB, free: 4.445 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.5559, allocations: 283 kB / 1.524 GB, free: 4.164 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.556, allocations: 33.7 kB / 1.524 GB, free: 4.125 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5561, allocations: 147.9 kB / 1.524 GB, free: 3.977 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.5562, allocations: 51.58 kB / 1.524 GB, free: 3.926 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.5563, allocations: 37.7 kB / 1.525 GB, free: 3.883 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5564, allocations: 342.8 kB / 1.525 GB, free: 3.539 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5566, allocations: 67.95 kB / 1.525 GB, free: 3.473 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.5569, allocations: 149.8 kB / 1.525 GB, free: 3.297 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.5573, allocations: 207.5 kB / 1.525 GB, free: 3.066 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5573, allocations: 8 kB / 1.525 GB, free: 3.059 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005532/0.5578, allocations: 237.2 kB / 1.525 GB, free: 2.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5578, allocations: 8 kB / 1.525 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5578, allocations: 0 / 1.525 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5579, allocations: 4 kB / 1.525 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.5581, allocations: 44.22 kB / 1.526 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5581, allocations: 7.938 kB / 1.526 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5583, allocations: 35.7 kB / 1.526 GB, free: 2.723 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5583, allocations: 12 kB / 1.526 GB, free: 2.711 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.5585, allocations: 141.8 kB / 1.526 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.5586, allocations: 28.22 kB / 1.526 GB, free: 2.535 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.5592, allocations: 189.8 kB / 1.526 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5592, allocations: 4 kB / 1.526 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.5592, allocations: 0 / 1.526 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5592, allocations: 11.94 kB / 1.526 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5603, allocations: 0.8472 MB / 1.527 GB, free: 1.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5603, allocations: 4 kB / 1.527 GB, free: 1.387 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5604, allocations: 28.08 kB / 1.527 GB, free: 1.359 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5604, allocations: 4 kB / 1.527 GB, free: 1.355 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5605, allocations: 7.984 kB / 1.527 GB, free: 1.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.5605, allocations: 4 kB / 1.527 GB, free: 1.344 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5605, allocations: 3.938 kB / 1.527 GB, free: 1.34 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.5611, allocations: 339.5 kB / 1.527 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5612, allocations: 112.9 kB / 1.527 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5612, allocations: 4 kB / 1.527 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5614, allocations: 7.984 kB / 1.527 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5614, allocations: 12.06 kB / 1.527 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.5614, allocations: 4 kB / 1.527 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002633/0.5617, allocations: 237.9 kB / 1.528 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of sort global known variables: time 5e-08/0.5617, allocations: 0 / 1.528 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005289/0.5622, allocations: 95.81 kB / 1.528 GB, free: 0.4922 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.5637, allocations: 0.9934 MB / 1.529 GB, free: 15.46 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.5641, allocations: 143.9 kB / 1.529 GB, free: 15.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5641, allocations: 4 kB / 1.529 GB, free: 15.31 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.5643, allocations: 60.7 kB / 1.529 GB, free: 15.25 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.565, allocations: 132 kB / 1.529 GB, free: 15.13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.569, allocations: 2.766 MB / 1.532 GB, free: 12.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.5694, allocations: 0.7674 MB / 1.532 GB, free: 11.41 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.5696, allocations: 54.89 kB / 1.532 GB, free: 11.36 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5697, allocations: 79.41 kB / 1.532 GB, free: 11.28 MB / 1.232 GB Notification: Performance of SimCode: time 7.82e-07/0.5697, allocations: 3.938 kB / 1.532 GB, free: 11.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.6084, allocations: 8.619 MB / 1.541 GB, free: 2.809 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.713, allocations: 4.062 kB / 1.541 GB, free: 2.805 MB / 1.232 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.251105907838792]