Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.91 kB / 1.059 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2686, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6747/0.9433, allocations: 162 MB / 1.374 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.9484, allocations: 4.593 MB / 1.378 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.9487, allocations: 10.38 kB / 1.378 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.949, allocations: 129.1 kB / 1.378 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006872/0.9497, allocations: 343.8 kB / 1.379 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.9504, allocations: 287.5 kB / 1.379 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.9509, allocations: 0.5604 MB / 1.38 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.9512, allocations: 151.4 kB / 1.38 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.952, allocations: 475 kB / 1.38 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.9523, allocations: 204.9 kB / 1.38 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.9523, allocations: 15.88 kB / 1.38 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.9525, allocations: 82.12 kB / 1.38 GB, free: 10 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.9526, allocations: 91.34 kB / 1.381 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.9527, allocations: 122.2 kB / 1.381 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.953, allocations: 296.4 kB / 1.381 GB, free: 9.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.953, allocations: 4 kB / 1.381 GB, free: 9.785 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.953, allocations: 0 / 1.381 GB, free: 9.785 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.953, allocations: 0 / 1.381 GB, free: 9.785 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000738/0.9538, allocations: 0.5498 MB / 1.381 GB, free: 9.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.9538, allocations: 13.34 kB / 1.381 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.9539, allocations: 48.11 kB / 1.382 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.9539, allocations: 33.94 kB / 1.382 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.9543, allocations: 290.9 kB / 1.382 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.9543, allocations: 16.56 kB / 1.382 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.9544, allocations: 16.62 kB / 1.382 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.9547, allocations: 260.4 kB / 1.382 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9548, allocations: 0 / 1.382 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.9548, allocations: 14.59 kB / 1.382 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.9548, allocations: 5.125 kB / 1.382 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.9551, allocations: 150.9 kB / 1.382 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.9563, allocations: 1.367 MB / 1.384 GB, free: 7.527 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.9566, allocations: 178.3 kB / 1.384 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.9568, allocations: 94.31 kB / 1.384 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.9571, allocations: 120 kB / 1.384 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.9571, allocations: 45.47 kB / 1.384 GB, free: 7.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.9571, allocations: 0 / 1.384 GB, free: 7.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0005669/0.9577, allocations: 205.8 kB / 1.384 GB, free: 7.051 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.9578, allocations: 186.8 kB / 1.384 GB, free: 6.828 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.9581, allocations: 288.4 kB / 1.385 GB, free: 6.676 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.9581, allocations: 31.11 kB / 1.385 GB, free: 6.641 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.9582, allocations: 147.9 kB / 1.385 GB, free: 6.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.9582, allocations: 35.61 kB / 1.385 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.9583, allocations: 33.81 kB / 1.385 GB, free: 6.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9584, allocations: 336.1 kB / 1.385 GB, free: 6.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.9585, allocations: 47.08 kB / 1.385 GB, free: 6.125 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.9587, allocations: 120.2 kB / 1.385 GB, free: 6.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.959, allocations: 159.7 kB / 1.386 GB, free: 5.926 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.959, allocations: 5.188 kB / 1.386 GB, free: 5.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003605/0.9594, allocations: 190.1 kB / 1.386 GB, free: 5.836 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9594, allocations: 9 kB / 1.386 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9594, allocations: 2.906 kB / 1.386 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9594, allocations: 2.281 kB / 1.386 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.9595, allocations: 32.88 kB / 1.386 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.9596, allocations: 9.156 kB / 1.386 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.9597, allocations: 28.92 kB / 1.386 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.9597, allocations: 7.25 kB / 1.386 GB, free: 5.809 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001337/0.9599, allocations: 150.1 kB / 1.386 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.96, allocations: 27.27 kB / 1.386 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.9603, allocations: 132.1 kB / 1.386 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.9603, allocations: 9.766 kB / 1.386 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9603, allocations: 1.094 kB / 1.386 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9603, allocations: 2.156 kB / 1.386 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.9611, allocations: 0.7773 MB / 1.387 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9611, allocations: 6.5 kB / 1.387 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.9612, allocations: 21.27 kB / 1.387 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9612, allocations: 2.375 kB / 1.387 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.9612, allocations: 7.094 kB / 1.387 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9612, allocations: 7.906 kB / 1.387 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9612, allocations: 4.203 kB / 1.387 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.9618, allocations: 335.8 kB / 1.387 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.9619, allocations: 111.7 kB / 1.387 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.9619, allocations: 6.062 kB / 1.387 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.962, allocations: 12.83 kB / 1.387 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.9621, allocations: 17.2 kB / 1.387 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.9621, allocations: 4.344 kB / 1.387 GB, free: 4.453 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001905/0.9623, allocations: 209.1 kB / 1.388 GB, free: 4.312 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9623, allocations: 0 / 1.388 GB, free: 4.312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003115/0.9626, allocations: 53.22 kB / 1.388 GB, free: 4.305 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0009506/0.9635, allocations: 0.9211 MB / 1.389 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.9638, allocations: 121.7 kB / 1.389 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9638, allocations: 0 / 1.389 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.964, allocations: 63.92 kB / 1.389 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.9647, allocations: 133.2 kB / 1.389 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.9676, allocations: 2.608 MB / 1.391 GB, free: 1.289 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.968, allocations: 0.7614 MB / 1.392 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.9681, allocations: 50.23 kB / 1.392 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.9682, allocations: 68.91 kB / 1.392 GB, free: 492 kB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9682, allocations: 0 / 1.392 GB, free: 492 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.999, allocations: 6.909 MB / 1.399 GB, free: 13.03 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/8.376, allocations: 10.62 kB / 1.399 GB, free: 13.02 MB / 1.076 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.734969359997194]