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.001873/0.001873, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.002458/0.002458, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.93/2.93, allocations: 476.7 MB / 0.7672 GB, free: 5.25 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.002996/0.002996, allocations: 71.91 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9399, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2134/1.153, allocations: 172.9 MB / 1.447 GB, free: 15.83 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.164, allocations: 7.187 MB / 1.454 GB, free: 8.625 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/1.165, allocations: 15.88 kB / 1.454 GB, free: 8.609 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/1.165, allocations: 170.7 kB / 1.454 GB, free: 8.441 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/1.17, allocations: 1.311 MB / 1.456 GB, free: 7.125 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/1.172, allocations: 0.6376 MB / 1.456 GB, free: 6.492 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00132/1.173, allocations: 0.7602 MB / 1.457 GB, free: 5.727 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/1.173, allocations: 249.2 kB / 1.457 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/1.175, allocations: 0.5993 MB / 1.458 GB, free: 4.883 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/1.176, allocations: 454.5 kB / 1.458 GB, free: 4.438 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/1.176, allocations: 28 kB / 1.458 GB, free: 4.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/1.179, allocations: 1.329 MB / 1.46 GB, free: 3.078 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/1.179, allocations: 131.5 kB / 1.46 GB, free: 2.949 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/1.179, allocations: 179.1 kB / 1.46 GB, free: 2.773 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/1.182, allocations: 0.9034 MB / 1.461 GB, free: 1.867 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.182, allocations: 0 / 1.461 GB, free: 1.867 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.51e-07/1.182, allocations: 0 / 1.461 GB, free: 1.867 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.016e-05/1.182, allocations: 4 kB / 1.461 GB, free: 1.863 MB / 1.154 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.001489/1.183, allocations: 0.712 MB / 1.461 GB, free: 1.098 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.183, allocations: 8.031 kB / 1.461 GB, free: 1.09 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/1.183, allocations: 66.53 kB / 1.462 GB, free: 1.016 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/1.184, allocations: 131.6 kB / 1.462 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/1.185, allocations: 341.4 kB / 1.462 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.185, allocations: 50.25 kB / 1.462 GB, free: 472 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/1.186, allocations: 35.98 kB / 1.462 GB, free: 436 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.187, allocations: 362.2 kB / 1.462 GB, free: 56 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.187, allocations: 3.938 kB / 1.462 GB, free: 52 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/1.187, allocations: 12 kB / 1.462 GB, free: 40 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/1.187, allocations: 4 kB / 1.462 GB, free: 36 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/1.188, allocations: 278 kB / 1.463 GB, free: 15.76 MB / 1.17 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.003132/1.191, allocations: 1.492 MB / 1.464 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/1.191, allocations: 190.5 kB / 1.464 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/1.192, allocations: 108.8 kB / 1.464 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.193, allocations: 0.513 MB / 1.465 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.193, allocations: 38.56 kB / 1.465 GB, free: 13.19 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/1.193, allocations: 0 / 1.465 GB, free: 13.19 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001541/1.195, allocations: 356 kB / 1.465 GB, free: 12.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.195, allocations: 59.34 kB / 1.465 GB, free: 12.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/1.195, allocations: 316.5 kB / 1.466 GB, free: 12.45 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/1.195, allocations: 29.7 kB / 1.466 GB, free: 12.42 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/1.196, allocations: 188.3 kB / 1.466 GB, free: 12.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/1.196, allocations: 51.53 kB / 1.466 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.196, allocations: 45.7 kB / 1.466 GB, free: 12.13 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002362/1.196, allocations: 338.8 kB / 1.466 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.196, allocations: 87.92 kB / 1.466 GB, free: 11.7 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/1.197, allocations: 156.5 kB / 1.467 GB, free: 11.53 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/1.198, allocations: 241.8 kB / 1.467 GB, free: 11.27 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.198, allocations: 0 / 1.467 GB, free: 11.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001192/1.199, allocations: 284.7 kB / 1.467 GB, free: 10.99 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.199, allocations: 4 kB / 1.467 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.199, allocations: 192 / 1.467 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.199, allocations: 8 kB / 1.467 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.199, allocations: 47.91 kB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.199, allocations: 4 kB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/1.2, allocations: 27.77 kB / 1.467 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/1.2, allocations: 12 kB / 1.467 GB, free: 10.89 MB / 1.17 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.0003485/1.2, allocations: 153.7 kB / 1.467 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/1.2, allocations: 31.81 kB / 1.467 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/1.202, allocations: 316.2 kB / 1.468 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/1.202, allocations: 4 kB / 1.468 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.202, allocations: 3.984 kB / 1.468 GB, free: 10.37 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/1.202, allocations: 0 / 1.468 GB, free: 10.37 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/1.204, allocations: 0.8083 MB / 1.468 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.204, allocations: 4 kB / 1.468 GB, free: 9.48 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/1.204, allocations: 31.92 kB / 1.468 GB, free: 9.449 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.204, allocations: 12.16 kB / 1.468 GB, free: 9.438 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/1.204, allocations: 8 kB / 1.468 GB, free: 9.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/1.204, allocations: 7.984 kB / 1.468 GB, free: 9.422 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.204, allocations: 0 / 1.468 GB, free: 9.422 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/1.205, allocations: 401.1 kB / 1.469 GB, free: 8.992 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/1.206, allocations: 136.8 kB / 1.469 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/1.206, allocations: 7.938 kB / 1.469 GB, free: 8.832 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/1.206, allocations: 15.98 kB / 1.469 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/1.206, allocations: 23.97 kB / 1.469 GB, free: 8.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/1.206, allocations: 8 kB / 1.469 GB, free: 8.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004197/1.207, allocations: 227 kB / 1.469 GB, free: 8.566 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.9e-07/1.207, allocations: 0 / 1.469 GB, free: 8.566 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009484/1.208, allocations: 123.8 kB / 1.469 GB, free: 8.445 MB / 1.17 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.002157/1.21, allocations: 1.06 MB / 1.47 GB, free: 7.336 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008621/1.211, allocations: 211.7 kB / 1.471 GB, free: 7.129 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.211, allocations: 0 / 1.471 GB, free: 7.129 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/1.211, allocations: 116.5 kB / 1.471 GB, free: 7.016 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.213, allocations: 159.8 kB / 1.471 GB, free: 6.863 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/1.22, allocations: 3.067 MB / 1.474 GB, free: 3.637 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/1.22, allocations: 0.7834 MB / 1.475 GB, free: 2.828 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004782/1.221, allocations: 82.88 kB / 1.475 GB, free: 2.746 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/1.221, allocations: 103.4 kB / 1.475 GB, free: 2.645 MB / 1.17 GB Notification: Performance of SimCode: time 1.123e-06/1.221, allocations: 0 / 1.475 GB, free: 2.645 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/1.27, allocations: 10.52 MB / 1.485 GB, free: 8.301 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.965/10.23, allocations: 6.25 kB / 1.485 GB, free: 8.301 MB / 1.186 GB " [Timeout remaining time 290] (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: 16.65512038115412]