Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001259/0.001259, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001427/0.001427, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.95/2.95, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_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.002234/0.002234, allocations: 63.02 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3319, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1918/0.5237, allocations: 149.5 MB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009652/0.5334, allocations: 6.549 MB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.5339, allocations: 19.81 kB / 1.478 GB, free: 5.703 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.5345, allocations: 170.7 kB / 1.478 GB, free: 5.535 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.5382, allocations: 1.303 MB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.5401, allocations: 0.6602 MB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.5412, allocations: 0.7679 MB / 1.48 GB, free: 2.801 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.5417, allocations: 223.2 kB / 1.481 GB, free: 2.578 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.5435, allocations: 0.7435 MB / 1.481 GB, free: 1.832 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.5445, allocations: 438.4 kB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.5446, allocations: 28 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.5467, allocations: 1.028 MB / 1.483 GB, free: 352 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.5468, allocations: 127.6 kB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.5471, allocations: 143.4 kB / 1.483 GB, free: 80 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.5488, allocations: 0.8683 MB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5488, allocations: 4 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5488, allocations: 3.938 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.5488, allocations: 0 / 1.484 GB, free: 15.2 MB / 1.186 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.001198/0.55, allocations: 0.6344 MB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5501, allocations: 12.03 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.5502, allocations: 66.53 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.5512, allocations: 135.6 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.5518, allocations: 275.5 kB / 1.485 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.5519, allocations: 76.06 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.5519, allocations: 24 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.5526, allocations: 397 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5526, allocations: 7.938 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5527, allocations: 8 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5527, allocations: 8 kB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.5532, allocations: 277.7 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.5551, allocations: 1.14 MB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.5555, allocations: 194.4 kB / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.5558, allocations: 108.8 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000786/0.5565, allocations: 131.8 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5566, allocations: 42.56 kB / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.5566, allocations: 0 / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009762/0.5576, allocations: 353.3 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5576, allocations: 63.28 kB / 1.488 GB, free: 11.08 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.558, allocations: 316.5 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.558, allocations: 29.7 kB / 1.488 GB, free: 10.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5581, allocations: 184.4 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.5582, allocations: 51.53 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.5583, allocations: 49.66 kB / 1.488 GB, free: 10.44 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5584, allocations: 338.8 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5586, allocations: 95.92 kB / 1.489 GB, free: 10.01 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.5589, allocations: 223 kB / 1.489 GB, free: 9.75 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.5594, allocations: 231.3 kB / 1.489 GB, free: 9.504 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5594, allocations: 8 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006181/0.56, allocations: 281.2 kB / 1.489 GB, free: 9.215 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.56, allocations: 8 kB / 1.489 GB, free: 9.207 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.56, allocations: 0 / 1.489 GB, free: 9.207 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.56, allocations: 4 kB / 1.489 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.5603, allocations: 44.09 kB / 1.489 GB, free: 9.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5603, allocations: 4 kB / 1.489 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5605, allocations: 35.77 kB / 1.489 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.5605, allocations: 8 kB / 1.49 GB, free: 9.113 MB / 1.186 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.0001743/0.5607, allocations: 161.7 kB / 1.49 GB, free: 8.945 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.5608, allocations: 31.8 kB / 1.49 GB, free: 8.914 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.5615, allocations: 314.3 kB / 1.49 GB, free: 8.602 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5615, allocations: 4 kB / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5615, allocations: 4 kB / 1.49 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5615, allocations: 0 / 1.49 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.5629, allocations: 0.7411 MB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5629, allocations: 4.219 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5631, allocations: 43.91 kB / 1.491 GB, free: 7.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5631, allocations: 7.938 kB / 1.491 GB, free: 7.727 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5631, allocations: 4 kB / 1.491 GB, free: 7.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5631, allocations: 0 / 1.491 GB, free: 7.723 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5631, allocations: 4 kB / 1.491 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.5638, allocations: 401.1 kB / 1.491 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.5639, allocations: 59.72 kB / 1.491 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.564, allocations: 19.92 kB / 1.491 GB, free: 7.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.5642, allocations: 20.02 kB / 1.491 GB, free: 7.191 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.5643, allocations: 15.92 kB / 1.491 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.5643, allocations: 15.98 kB / 1.491 GB, free: 7.16 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002333/0.5645, allocations: 223.1 kB / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5645, allocations: 0 / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005227/0.5651, allocations: 123.7 kB / 1.492 GB, free: 6.82 MB / 1.186 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.001305/0.5664, allocations: 1.046 MB / 1.493 GB, free: 5.723 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.5669, allocations: 216.1 kB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5669, allocations: 0 / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.5671, allocations: 112.5 kB / 1.493 GB, free: 5.406 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.568, allocations: 166.9 kB / 1.493 GB, free: 5.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.5723, allocations: 3.068 MB / 1.496 GB, free: 2.027 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.5725, allocations: 181.1 kB / 1.496 GB, free: 1.828 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.5728, allocations: 82.88 kB / 1.496 GB, free: 1.746 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.573, allocations: 103.4 kB / 1.496 GB, free: 1.648 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/0.573, allocations: 0 / 1.496 GB, free: 1.648 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.6161, allocations: 11.71 MB / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.6, allocations: 7.234 kB / 1.508 GB, free: 6.219 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.860858028754592]