Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001226/0.001226, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001401/0.001401, allocations: 218.8 kB / 22.25 MB, free: 5.102 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.089/3.089, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_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.002105/0.002105, allocations: 71.2 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3189, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1707/0.4897, allocations: 147.8 MB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.4971, allocations: 6.009 MB / 1.476 GB, free: 7.125 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.4975, allocations: 23.81 kB / 1.476 GB, free: 7.102 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.498, allocations: 174.7 kB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.5, allocations: 0.8363 MB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.5008, allocations: 342.2 kB / 1.477 GB, free: 5.758 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.5016, allocations: 0.7213 MB / 1.478 GB, free: 5.035 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.502, allocations: 227.2 kB / 1.478 GB, free: 4.809 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.5034, allocations: 0.7201 MB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.5037, allocations: 278.9 kB / 1.479 GB, free: 3.812 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.5038, allocations: 24 kB / 1.479 GB, free: 3.789 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.5043, allocations: 295.3 kB / 1.48 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5044, allocations: 111.6 kB / 1.48 GB, free: 3.391 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.5045, allocations: 139.3 kB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.5051, allocations: 474.2 kB / 1.48 GB, free: 2.789 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5051, allocations: 0 / 1.48 GB, free: 2.789 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5051, allocations: 0 / 1.48 GB, free: 2.789 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5051, allocations: 4 kB / 1.48 GB, free: 2.785 MB / 1.17 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.0007911/0.5059, allocations: 0.5527 MB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.506, allocations: 12.03 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.506, allocations: 62.53 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.5063, allocations: 67.67 kB / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.5068, allocations: 251.6 kB / 1.481 GB, free: 1.777 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.5068, allocations: 20.66 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.5069, allocations: 24 kB / 1.481 GB, free: 1.734 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.5074, allocations: 320.9 kB / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5074, allocations: 4 kB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5074, allocations: 12 kB / 1.482 GB, free: 1.379 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5074, allocations: 8 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.5078, allocations: 205.5 kB / 1.482 GB, free: 1.172 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.5092, allocations: 1.206 MB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.5094, allocations: 108.1 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5096, allocations: 88.75 kB / 1.483 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.5101, allocations: 75.91 kB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.5101, allocations: 34.56 kB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5101, allocations: 0 / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007031/0.5108, allocations: 265.7 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5108, allocations: 51.41 kB / 1.484 GB, free: 15.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.5111, allocations: 312.5 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5112, allocations: 37.69 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5113, allocations: 180.2 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.5113, allocations: 51.58 kB / 1.484 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.5114, allocations: 29.72 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5116, allocations: 342.8 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5117, allocations: 63.89 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5119, allocations: 187.9 kB / 1.485 GB, free: 14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.5122, allocations: 180.9 kB / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5122, allocations: 0 / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003959/0.5126, allocations: 213.4 kB / 1.485 GB, free: 13.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5127, allocations: 12.03 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5127, allocations: 0 / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5127, allocations: 8.031 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.5128, allocations: 35.91 kB / 1.485 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5129, allocations: 7.938 kB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.513, allocations: 27.83 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.513, allocations: 8 kB / 1.485 GB, free: 13.49 MB / 1.186 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.0001553/0.5132, allocations: 159.4 kB / 1.485 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.5132, allocations: 35.81 kB / 1.485 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.5137, allocations: 207.3 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5137, allocations: 0 / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5137, allocations: 3.938 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5137, allocations: 0 / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5147, allocations: 0.6397 MB / 1.486 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5147, allocations: 4 kB / 1.486 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.5148, allocations: 27.92 kB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5148, allocations: 4 kB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5149, allocations: 7.938 kB / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5149, allocations: 7.984 kB / 1.486 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5149, allocations: 4 kB / 1.486 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.5153, allocations: 333.5 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.5154, allocations: 43.78 kB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.5154, allocations: 11.92 kB / 1.487 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.5156, allocations: 8 kB / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5156, allocations: 19.91 kB / 1.487 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.5157, allocations: 8 kB / 1.487 GB, free: 11.86 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002134/0.5159, allocations: 215.1 kB / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5159, allocations: 0 / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003809/0.5162, allocations: 83.83 kB / 1.487 GB, free: 11.57 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 (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.0008795/0.5171, allocations: 0.9055 MB / 1.488 GB, free: 10.61 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.5175, allocations: 159.8 kB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5175, allocations: 0 / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.5177, allocations: 83.81 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.5185, allocations: 155.7 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.5219, allocations: 2.811 MB / 1.491 GB, free: 7.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.5221, allocations: 171.8 kB / 1.491 GB, free: 7.082 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000176/0.5223, allocations: 62.94 kB / 1.491 GB, free: 7.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5224, allocations: 91.41 kB / 1.491 GB, free: 6.93 MB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/0.5224, allocations: 0 / 1.491 GB, free: 6.93 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.5596, allocations: 9.258 MB / 1.5 GB, free: 13.94 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.18, allocations: 11.5 kB / 1.5 GB, free: 13.94 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.641402982990257]