Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.00153/0.00153, allocations: 105 kB / 16.45 MB, free: 6.449 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.001765/0.001765, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.059/3.059, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.001963/0.001963, allocations: 70.05 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3372, allocations: 180.2 MB / 1.348 GB, free: 9.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1952/0.5324, allocations: 172.9 MB / 1.517 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.5425, allocations: 7.196 MB / 1.524 GB, free: 5.137 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.5432, allocations: 15.88 kB / 1.524 GB, free: 5.121 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007602/0.544, allocations: 174.7 kB / 1.524 GB, free: 4.949 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.5477, allocations: 1.303 MB / 1.525 GB, free: 3.641 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.5496, allocations: 0.6468 MB / 1.526 GB, free: 2.996 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.551, allocations: 0.7485 MB / 1.526 GB, free: 2.246 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005729/0.5516, allocations: 254.6 kB / 1.527 GB, free: 1.992 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.5535, allocations: 0.7511 MB / 1.527 GB, free: 1.238 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009565/0.5544, allocations: 442.5 kB / 1.528 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.5545, allocations: 28 kB / 1.528 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.557, allocations: 1.321 MB / 1.529 GB, free: 15.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.5573, allocations: 119.6 kB / 1.529 GB, free: 15.34 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.5576, allocations: 183.1 kB / 1.529 GB, free: 15.16 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.56, allocations: 0.9073 MB / 1.53 GB, free: 14.25 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.56, allocations: 0 / 1.53 GB, free: 14.25 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.352e-06/0.56, allocations: 0 / 1.53 GB, free: 14.25 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.56, allocations: 0 / 1.53 GB, free: 14.25 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001323/0.5613, allocations: 0.7081 MB / 1.531 GB, free: 13.49 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5614, allocations: 11.98 kB / 1.531 GB, free: 13.48 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.5615, allocations: 66.53 kB / 1.531 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5625, allocations: 135.6 kB / 1.531 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/0.5631, allocations: 341.4 kB / 1.532 GB, free: 12.9 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.083e-05/0.5632, allocations: 46.27 kB / 1.532 GB, free: 12.85 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.5633, allocations: 28 kB / 1.532 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.564, allocations: 374.1 kB / 1.532 GB, free: 12.43 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.564, allocations: 0 / 1.532 GB, free: 12.43 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.564, allocations: 12 kB / 1.532 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.564, allocations: 4 kB / 1.532 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.5646, allocations: 282 kB / 1.532 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.5667, allocations: 1.492 MB / 1.534 GB, free: 10.52 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.5671, allocations: 182.6 kB / 1.534 GB, free: 10.33 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.5674, allocations: 112.8 kB / 1.534 GB, free: 10.22 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009828/0.5683, allocations: 0.5053 MB / 1.535 GB, free: 9.621 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5684, allocations: 38.55 kB / 1.535 GB, free: 9.574 MB / 1.232 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.5684, allocations: 7.938 kB / 1.535 GB, free: 9.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=15): time 0.001005/0.5694, allocations: 355.4 kB / 1.535 GB, free: 9.215 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5694, allocations: 55.41 kB / 1.535 GB, free: 9.148 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.5698, allocations: 312.5 kB / 1.535 GB, free: 8.832 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.5698, allocations: 33.7 kB / 1.535 GB, free: 8.793 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.57, allocations: 188.2 kB / 1.535 GB, free: 8.605 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.57, allocations: 51.59 kB / 1.536 GB, free: 8.555 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.5701, allocations: 45.66 kB / 1.536 GB, free: 8.504 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5703, allocations: 342.8 kB / 1.536 GB, free: 8.16 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5705, allocations: 83.92 kB / 1.536 GB, free: 8.078 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.5707, allocations: 149.9 kB / 1.536 GB, free: 7.91 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.5712, allocations: 236.7 kB / 1.536 GB, free: 7.66 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5712, allocations: 0 / 1.536 GB, free: 7.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006553/0.5719, allocations: 285.4 kB / 1.537 GB, free: 7.375 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5719, allocations: 8 kB / 1.537 GB, free: 7.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5719, allocations: 3.938 kB / 1.537 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5719, allocations: 7.938 kB / 1.537 GB, free: 7.355 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.5721, allocations: 39.97 kB / 1.537 GB, free: 7.316 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5722, allocations: 7.984 kB / 1.537 GB, free: 7.309 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5724, allocations: 31.77 kB / 1.537 GB, free: 7.277 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.5724, allocations: 12 kB / 1.537 GB, free: 7.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002043/0.5726, allocations: 158.4 kB / 1.537 GB, free: 7.102 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5728, allocations: 27.81 kB / 1.537 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.5735, allocations: 316.1 kB / 1.537 GB, free: 6.758 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5736, allocations: 0 / 1.537 GB, free: 6.758 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5736, allocations: 0 / 1.537 GB, free: 6.758 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5736, allocations: 0 / 1.537 GB, free: 6.758 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.5751, allocations: 0.8083 MB / 1.538 GB, free: 5.871 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5751, allocations: 4.219 kB / 1.538 GB, free: 5.867 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.5753, allocations: 39.91 kB / 1.538 GB, free: 5.828 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.5753, allocations: 7.938 kB / 1.538 GB, free: 5.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5753, allocations: 8.094 kB / 1.538 GB, free: 5.812 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.5753, allocations: 3.938 kB / 1.538 GB, free: 5.809 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.5753, allocations: 7.938 kB / 1.538 GB, free: 5.801 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.576, allocations: 401.1 kB / 1.538 GB, free: 5.371 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.5761, allocations: 136.9 kB / 1.539 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.5762, allocations: 11.94 kB / 1.539 GB, free: 5.207 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5764, allocations: 15.98 kB / 1.539 GB, free: 5.191 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.5765, allocations: 19.92 kB / 1.539 GB, free: 5.172 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.5765, allocations: 11.98 kB / 1.539 GB, free: 5.16 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002398/0.5768, allocations: 223.1 kB / 1.539 GB, free: 4.941 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5768, allocations: 0 / 1.539 GB, free: 4.941 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005719/0.5774, allocations: 123.7 kB / 1.539 GB, free: 4.82 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001441/0.5788, allocations: 1.052 MB / 1.54 GB, free: 3.719 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.5794, allocations: 219.6 kB / 1.54 GB, free: 3.504 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5794, allocations: 0 / 1.54 GB, free: 3.504 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.5796, allocations: 116.2 kB / 1.54 GB, free: 3.391 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.5805, allocations: 158.3 kB / 1.54 GB, free: 3.242 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.5851, allocations: 3.067 MB / 1.543 GB, free: 24 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.5855, allocations: 0.7834 MB / 1.544 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.5858, allocations: 86.8 kB / 1.544 GB, free: 15.12 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.586, allocations: 103.4 kB / 1.544 GB, free: 15.02 MB / 1.248 GB Notification: Performance of SimCode: time 3.7e-07/0.586, allocations: 0 / 1.544 GB, free: 15.02 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.6266, allocations: 10.52 MB / 1.555 GB, free: 4.672 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.776, allocations: 10.06 kB / 1.555 GB, free: 4.664 MB / 1.248 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.238591969944537]