Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002029/0.002029, 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.002343/0.002343, allocations: 209.1 kB / 22.24 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_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.002257/0.002257, allocations: 66.11 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2087/0.5475, allocations: 149.5 MB / 1.429 GB, free: 6.324 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0094/0.5569, allocations: 6.559 MB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.5574, allocations: 15.88 kB / 1.435 GB, free: 15.74 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.5581, allocations: 182.7 kB / 1.435 GB, free: 15.56 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.5618, allocations: 1.295 MB / 1.436 GB, free: 14.26 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.5638, allocations: 0.6524 MB / 1.437 GB, free: 13.61 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.565, allocations: 0.7796 MB / 1.438 GB, free: 12.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.5654, allocations: 222.8 kB / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.5668, allocations: 0.5994 MB / 1.439 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009262/0.5677, allocations: 434.5 kB / 1.439 GB, free: 11.58 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.5678, allocations: 27.94 kB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.5699, allocations: 1.052 MB / 1.44 GB, free: 10.5 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.5701, allocations: 127.6 kB / 1.44 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.5703, allocations: 143.4 kB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5719, allocations: 0.8683 MB / 1.441 GB, free: 9.363 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5719, allocations: 4 kB / 1.441 GB, free: 9.359 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5719, allocations: 0 / 1.441 GB, free: 9.359 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5719, allocations: 0 / 1.441 GB, free: 9.359 MB / 1.139 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.001094/0.573, allocations: 0.629 MB / 1.442 GB, free: 8.699 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.573, allocations: 8.031 kB / 1.442 GB, free: 8.691 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.5731, allocations: 58.55 kB / 1.442 GB, free: 8.625 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/0.5741, allocations: 139.6 kB / 1.442 GB, free: 8.488 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.5748, allocations: 287.5 kB / 1.442 GB, free: 8.184 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.5749, allocations: 72.06 kB / 1.442 GB, free: 8.098 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.575, allocations: 28 kB / 1.442 GB, free: 8.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.5757, allocations: 400.9 kB / 1.443 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5757, allocations: 0 / 1.443 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.5758, allocations: 12 kB / 1.443 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5758, allocations: 7.938 kB / 1.443 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.5763, allocations: 273.7 kB / 1.443 GB, free: 7.363 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.5783, allocations: 1.14 MB / 1.444 GB, free: 6.164 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.5787, allocations: 190.5 kB / 1.444 GB, free: 5.969 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.579, allocations: 112.7 kB / 1.444 GB, free: 5.855 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.5797, allocations: 135.8 kB / 1.445 GB, free: 5.723 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.5798, allocations: 34.56 kB / 1.445 GB, free: 5.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5798, allocations: 4 kB / 1.445 GB, free: 5.676 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0009837/0.5808, allocations: 357.2 kB / 1.445 GB, free: 5.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5808, allocations: 55.41 kB / 1.445 GB, free: 5.254 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.5812, allocations: 320.4 kB / 1.445 GB, free: 4.93 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5812, allocations: 29.7 kB / 1.445 GB, free: 4.895 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5814, allocations: 184.4 kB / 1.446 GB, free: 4.711 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.5814, allocations: 59.53 kB / 1.446 GB, free: 4.652 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.5815, allocations: 45.64 kB / 1.446 GB, free: 4.602 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5817, allocations: 342.8 kB / 1.446 GB, free: 4.258 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.5819, allocations: 87.88 kB / 1.446 GB, free: 4.172 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.5822, allocations: 223 kB / 1.446 GB, free: 3.914 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.5826, allocations: 243 kB / 1.446 GB, free: 3.656 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5827, allocations: 0 / 1.446 GB, free: 3.656 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006084/0.5833, allocations: 281.2 kB / 1.447 GB, free: 3.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5833, allocations: 4 kB / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5833, allocations: 8.188 kB / 1.447 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5833, allocations: 0 / 1.447 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.5835, allocations: 47.91 kB / 1.447 GB, free: 3.316 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5835, allocations: 4 kB / 1.447 GB, free: 3.312 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5838, allocations: 27.83 kB / 1.447 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.5838, allocations: 12 kB / 1.447 GB, free: 3.273 MB / 1.139 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.0001819/0.584, allocations: 157.6 kB / 1.447 GB, free: 3.109 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5841, allocations: 31.81 kB / 1.447 GB, free: 3.078 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.5848, allocations: 316.1 kB / 1.447 GB, free: 2.762 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5848, allocations: 7.984 kB / 1.447 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5848, allocations: 0 / 1.447 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5848, allocations: 0 / 1.447 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.5863, allocations: 0.745 MB / 1.448 GB, free: 1.938 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5863, allocations: 4 kB / 1.448 GB, free: 1.934 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.5865, allocations: 35.92 kB / 1.448 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.5865, allocations: 7.938 kB / 1.448 GB, free: 1.891 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.5865, allocations: 7.984 kB / 1.448 GB, free: 1.883 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5865, allocations: 4 kB / 1.448 GB, free: 1.879 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5865, allocations: 0 / 1.448 GB, free: 1.879 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.5872, allocations: 407 kB / 1.449 GB, free: 1.445 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.5873, allocations: 55.72 kB / 1.449 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.5873, allocations: 11.94 kB / 1.449 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.5876, allocations: 15.98 kB / 1.449 GB, free: 1.363 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.5877, allocations: 19.91 kB / 1.449 GB, free: 1.344 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.5877, allocations: 12 kB / 1.449 GB, free: 1.332 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002482/0.5879, allocations: 227 kB / 1.449 GB, free: 1.113 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5879, allocations: 3.938 kB / 1.449 GB, free: 1.109 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005362/0.5885, allocations: 123.8 kB / 1.449 GB, free: 0.9883 MB / 1.139 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.001453/0.5899, allocations: 1.05 MB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.5905, allocations: 216.2 kB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5905, allocations: 4.312 kB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.5907, allocations: 111.9 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/0.5917, allocations: 162 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.5963, allocations: 3.06 MB / 1.453 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.5965, allocations: 177.1 kB / 1.454 GB, free: 12 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.5968, allocations: 86.88 kB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.597, allocations: 99.41 kB / 1.454 GB, free: 11.82 MB / 1.154 GB Notification: Performance of SimCode: time 6.81e-07/0.597, allocations: 0 / 1.454 GB, free: 11.82 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/0.6517, allocations: 11.72 MB / 1.465 GB, free: 388 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.97, allocations: 8.391 kB / 1.465 GB, free: 384 kB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senM_flow.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.94341001706198]