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.0007601/0.0007601, 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.0007871/0.0007871, 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.8617/0.8617, 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.665/1.665, allocations: 389 MB / 0.633 GB, free: 12.71 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.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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.187e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5408/0.5408, allocations: 143.8 MB / 1.14 GB, free: 10.27 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003751/0.5446, allocations: 4.194 MB / 1.144 GB, free: 7.473 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.5448, allocations: 14.19 kB / 1.144 GB, free: 7.465 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.5451, allocations: 126.6 kB / 1.144 GB, free: 7.383 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.546, allocations: 0.5796 MB / 1.145 GB, free: 7.074 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.5471, allocations: 0.8208 MB / 1.146 GB, free: 6.676 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.5475, allocations: 0.5526 MB / 1.146 GB, free: 6.422 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.5478, allocations: 147.7 kB / 1.146 GB, free: 6.355 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.5489, allocations: 0.7307 MB / 1.147 GB, free: 6.031 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.5493, allocations: 278.7 kB / 1.147 GB, free: 5.941 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.5493, allocations: 16.03 kB / 1.147 GB, free: 5.941 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.5503, allocations: 0.8613 MB / 1.148 GB, free: 5.625 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.5504, allocations: 100.6 kB / 1.148 GB, free: 5.578 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.5504, allocations: 84.39 kB / 1.148 GB, free: 5.547 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.5512, allocations: 0.7293 MB / 1.149 GB, free: 5.312 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5512, allocations: 7.938 kB / 1.149 GB, free: 5.305 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5512, allocations: 0 / 1.149 GB, free: 5.305 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5512, allocations: 1.062 kB / 1.149 GB, free: 5.305 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006773/0.5518, allocations: 0.5195 MB / 1.15 GB, free: 4.887 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5519, allocations: 10.61 kB / 1.15 GB, free: 4.887 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.5519, allocations: 52.67 kB / 1.15 GB, free: 4.836 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.5523, allocations: 81.67 kB / 1.15 GB, free: 4.812 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5526, allocations: 231.1 kB / 1.15 GB, free: 4.629 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5526, allocations: 16.38 kB / 1.15 GB, free: 4.621 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.5527, allocations: 16.66 kB / 1.15 GB, free: 4.617 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.553, allocations: 283.4 kB / 1.15 GB, free: 4.461 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.553, allocations: 5.062 kB / 1.15 GB, free: 4.457 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.5531, allocations: 10.5 kB / 1.15 GB, free: 4.449 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5531, allocations: 7.094 kB / 1.15 GB, free: 4.449 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.5534, allocations: 204.8 kB / 1.151 GB, free: 4.391 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5544, allocations: 1.167 MB / 1.152 GB, free: 3.445 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.5546, allocations: 173.9 kB / 1.152 GB, free: 3.293 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.5547, allocations: 105.2 kB / 1.152 GB, free: 3.234 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.555, allocations: 106.5 kB / 1.152 GB, free: 3.223 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5551, allocations: 38.61 kB / 1.152 GB, free: 3.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.5551, allocations: 0 / 1.152 GB, free: 3.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0004903/0.5555, allocations: 281.8 kB / 1.152 GB, free: 3.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.5556, allocations: 161.7 kB / 1.153 GB, free: 2.879 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.5558, allocations: 285.9 kB / 1.153 GB, free: 2.723 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.5559, allocations: 27.08 kB / 1.153 GB, free: 2.691 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.5559, allocations: 150.1 kB / 1.153 GB, free: 2.562 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.556, allocations: 45.67 kB / 1.153 GB, free: 2.527 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.556, allocations: 40.31 kB / 1.153 GB, free: 2.504 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.5561, allocations: 341.6 kB / 1.153 GB, free: 2.176 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.5562, allocations: 66.42 kB / 1.153 GB, free: 2.16 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.5564, allocations: 253.4 kB / 1.154 GB, free: 1.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.5567, allocations: 214.3 kB / 1.154 GB, free: 1.805 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5567, allocations: 1.062 kB / 1.154 GB, free: 1.805 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003086/0.557, allocations: 248.8 kB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.557, allocations: 6.094 kB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.557, allocations: 2.281 kB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.557, allocations: 4.188 kB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.5571, allocations: 38.55 kB / 1.154 GB, free: 1.695 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5571, allocations: 15.78 kB / 1.154 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.5572, allocations: 33.95 kB / 1.154 GB, free: 1.664 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5572, allocations: 13.88 kB / 1.154 GB, free: 1.66 MB / 1.01 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 9.599e-05/0.5573, allocations: 145.4 kB / 1.154 GB, free: 1.531 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.5574, allocations: 28.8 kB / 1.154 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.5577, allocations: 185.1 kB / 1.155 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5577, allocations: 3.016 kB / 1.155 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5577, allocations: 1.375 kB / 1.155 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5577, allocations: 2.078 kB / 1.155 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.5586, allocations: 0.8097 MB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5586, allocations: 2 kB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.5587, allocations: 22.02 kB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5587, allocations: 2.062 kB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.5587, allocations: 2.641 kB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5587, allocations: 6.031 kB / 1.155 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5587, allocations: 2.625 kB / 1.155 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.559, allocations: 342.9 kB / 1.156 GB, free: 484 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.5591, allocations: 34.48 kB / 1.156 GB, free: 464 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5591, allocations: 12.45 kB / 1.156 GB, free: 456 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.5592, allocations: 10.42 kB / 1.156 GB, free: 452 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5592, allocations: 9.047 kB / 1.156 GB, free: 452 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.5592, allocations: 8.828 kB / 1.156 GB, free: 448 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001649/0.5594, allocations: 231.7 kB / 1.156 GB, free: 320 kB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5594, allocations: 1.156 kB / 1.156 GB, free: 320 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002951/0.5597, allocations: 98.08 kB / 1.156 GB, free: 300 kB / 1.01 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.0007437/0.5604, allocations: 0.9845 MB / 1.157 GB, free: 15.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.5607, allocations: 153.1 kB / 1.157 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5607, allocations: 1.469 kB / 1.157 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.5607, allocations: 56.94 kB / 1.157 GB, free: 15.44 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.5612, allocations: 124.1 kB / 1.157 GB, free: 15.41 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5635, allocations: 2.725 MB / 1.16 GB, free: 13.54 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.5636, allocations: 156.9 kB / 1.16 GB, free: 13.45 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.5637, allocations: 66.59 kB / 1.16 GB, free: 13.43 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.5638, allocations: 74.59 kB / 1.16 GB, free: 13.38 MB / 1.026 GB Notification: Performance of SimCode: time 8.62e-07/0.5638, allocations: 0 / 1.16 GB, free: 13.38 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.5868, allocations: 9.566 MB / 1.17 GB, free: 11.79 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/7.057, allocations: 4.188 kB / 1.17 GB, free: 11.79 MB / 1.026 GB " [Timeout remaining time 293] (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/jenkins/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: 10.98374221753329]