Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001744/0.001744, allocations: 98.25 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.002117/0.002117, 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.834/2.834, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] 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.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.002108/0.002108, allocations: 79.88 kB / 1.112 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.9011, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2171/1.118, allocations: 171 MB / 1.445 GB, free: 1.781 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009577/1.128, allocations: 6.587 MB / 1.452 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005326/1.128, allocations: 15.88 kB / 1.452 GB, free: 11.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/1.129, allocations: 170.7 kB / 1.452 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/1.132, allocations: 0.8752 MB / 1.453 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/1.133, allocations: 326.6 kB / 1.453 GB, free: 9.797 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00116/1.134, allocations: 0.7251 MB / 1.454 GB, free: 9.066 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/1.134, allocations: 225.4 kB / 1.454 GB, free: 8.848 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/1.136, allocations: 0.576 MB / 1.455 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/1.136, allocations: 282.9 kB / 1.455 GB, free: 7.992 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/1.136, allocations: 24 kB / 1.455 GB, free: 7.969 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/1.137, allocations: 367.1 kB / 1.455 GB, free: 7.609 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/1.137, allocations: 107.7 kB / 1.455 GB, free: 7.504 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/1.138, allocations: 167.1 kB / 1.455 GB, free: 7.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/1.139, allocations: 478.1 kB / 1.456 GB, free: 6.871 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.139, allocations: 0 / 1.456 GB, free: 6.871 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.683e-06/1.139, allocations: 0 / 1.456 GB, free: 6.871 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.139, allocations: 4 kB / 1.456 GB, free: 6.867 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001169/1.14, allocations: 0.6229 MB / 1.456 GB, free: 6.191 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.14, allocations: 8.031 kB / 1.457 GB, free: 6.184 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/1.14, allocations: 58.55 kB / 1.457 GB, free: 6.117 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/1.14, allocations: 71.66 kB / 1.457 GB, free: 6.047 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/1.141, allocations: 329.4 kB / 1.457 GB, free: 5.688 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.141, allocations: 20.55 kB / 1.457 GB, free: 5.668 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/1.141, allocations: 28 kB / 1.457 GB, free: 5.641 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/1.142, allocations: 315.7 kB / 1.457 GB, free: 5.309 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.142, allocations: 0 / 1.457 GB, free: 5.309 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/1.142, allocations: 12 kB / 1.457 GB, free: 5.297 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/1.142, allocations: 8 kB / 1.457 GB, free: 5.289 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/1.142, allocations: 209.4 kB / 1.458 GB, free: 5.082 MB / 1.154 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.00221/1.144, allocations: 1.535 MB / 1.459 GB, free: 3.414 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/1.145, allocations: 117.8 kB / 1.459 GB, free: 3.293 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/1.145, allocations: 85.06 kB / 1.459 GB, free: 3.207 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007541/1.146, allocations: 303.2 kB / 1.459 GB, free: 2.855 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/1.146, allocations: 42.56 kB / 1.46 GB, free: 2.805 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/1.146, allocations: 0 / 1.46 GB, free: 2.805 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0009657/1.147, allocations: 269.4 kB / 1.46 GB, free: 2.535 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.147, allocations: 59.34 kB / 1.46 GB, free: 2.465 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/1.147, allocations: 312.5 kB / 1.46 GB, free: 2.156 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/1.147, allocations: 29.7 kB / 1.46 GB, free: 2.121 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/1.147, allocations: 184.3 kB / 1.46 GB, free: 1.938 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/1.148, allocations: 43.58 kB / 1.46 GB, free: 1.895 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.148, allocations: 45.7 kB / 1.46 GB, free: 1.844 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.148, allocations: 334.8 kB / 1.461 GB, free: 1.508 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/1.148, allocations: 63.86 kB / 1.461 GB, free: 1.445 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.148, allocations: 109.1 kB / 1.461 GB, free: 1.32 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/1.149, allocations: 176.9 kB / 1.461 GB, free: 1.129 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.149, allocations: 0 / 1.461 GB, free: 1.129 MB / 1.154 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005212/1.149, allocations: 225.2 kB / 1.461 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.149, allocations: 4 kB / 1.461 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.149, allocations: 7.984 kB / 1.461 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.149, allocations: 0 / 1.461 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/1.149, allocations: 35.92 kB / 1.461 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.149, allocations: 0 / 1.461 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.15, allocations: 39.92 kB / 1.461 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.15, allocations: 4 kB / 1.461 GB, free: 0.8125 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.00019/1.15, allocations: 157.6 kB / 1.462 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/1.15, allocations: 27.81 kB / 1.462 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/1.15, allocations: 212.4 kB / 1.462 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.15, allocations: 0 / 1.462 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.15, allocations: 0 / 1.462 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.15, allocations: 4 kB / 1.462 GB, free: 408 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.152, allocations: 0.6837 MB / 1.462 GB, free: 15.64 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.152, allocations: 0 / 1.462 GB, free: 15.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/1.152, allocations: 32.05 kB / 1.462 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.152, allocations: 0 / 1.462 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.152, allocations: 15.92 kB / 1.462 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.152, allocations: 4 kB / 1.462 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.152, allocations: 3.938 kB / 1.462 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/1.152, allocations: 329.3 kB / 1.463 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/1.153, allocations: 128.8 kB / 1.463 GB, free: 15.08 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/1.153, allocations: 7.938 kB / 1.463 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.153, allocations: 15.98 kB / 1.463 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/1.153, allocations: 7.938 kB / 1.463 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/1.153, allocations: 8 kB / 1.463 GB, free: 15.04 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003191/1.153, allocations: 223 kB / 1.463 GB, free: 14.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.1e-08/1.153, allocations: 0 / 1.463 GB, free: 14.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005086/1.154, allocations: 75.89 kB / 1.463 GB, free: 14.75 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 (13): * Single equations (assignments): 13 * 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.001142/1.155, allocations: 0.9165 MB / 1.464 GB, free: 13.79 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004685/1.155, allocations: 159.8 kB / 1.464 GB, free: 13.63 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.155, allocations: 0 / 1.464 GB, free: 13.63 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.156, allocations: 75.83 kB / 1.464 GB, free: 13.55 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/1.156, allocations: 156.1 kB / 1.465 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/1.161, allocations: 2.812 MB / 1.467 GB, free: 10.44 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.161, allocations: 0.7834 MB / 1.468 GB, free: 9.633 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002414/1.161, allocations: 66.92 kB / 1.468 GB, free: 9.566 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/1.161, allocations: 91.41 kB / 1.468 GB, free: 9.48 MB / 1.17 GB Notification: Performance of SimCode: time 5.81e-07/1.161, allocations: 4 kB / 1.468 GB, free: 9.477 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/1.198, allocations: 8.118 MB / 1.476 GB, free: 1.535 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/9.976, allocations: 13.03 kB / 1.476 GB, free: 1.523 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.190412339987233]