Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 71.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.758, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1874/0.9455, allocations: 167.5 MB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.9537, allocations: 6.543 MB / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.9542, allocations: 11.94 kB / 1.187 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.9549, allocations: 166.8 kB / 1.188 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.9575, allocations: 0.8479 MB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.9587, allocations: 323.1 kB / 1.189 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.96, allocations: 0.7174 MB / 1.189 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.9606, allocations: 278.7 kB / 1.19 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.9619, allocations: 0.5409 MB / 1.19 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.9624, allocations: 274.9 kB / 1.19 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.9625, allocations: 20 kB / 1.19 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.9633, allocations: 339.2 kB / 1.191 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.9635, allocations: 115.6 kB / 1.191 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.9638, allocations: 155.3 kB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.9647, allocations: 462.4 kB / 1.192 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.9648, allocations: 4 kB / 1.192 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9648, allocations: 0 / 1.192 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.9648, allocations: 4 kB / 1.192 GB, free: 15.52 MB / 0.9512 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.001306/0.9661, allocations: 0.6078 MB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.9662, allocations: 8.031 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.298e-05/0.9663, allocations: 66.48 kB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.9667, allocations: 71.36 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.9672, allocations: 297.3 kB / 1.193 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.9673, allocations: 24.56 kB / 1.193 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.9673, allocations: 24 kB / 1.193 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.9679, allocations: 327.6 kB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9679, allocations: 0 / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.968, allocations: 8 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.968, allocations: 11.94 kB / 1.193 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.9684, allocations: 209.4 kB / 1.193 GB, free: 13.76 MB / 0.9512 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.001703/0.9702, allocations: 1.542 MB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.9704, allocations: 118.5 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.9706, allocations: 92.8 kB / 1.195 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.9713, allocations: 299.2 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.9714, allocations: 34.55 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.9714, allocations: 4 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007826/0.9722, allocations: 273.4 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.9722, allocations: 51.41 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.9725, allocations: 308.5 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.9726, allocations: 33.7 kB / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.9727, allocations: 180.1 kB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.9728, allocations: 51.3 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.9729, allocations: 37.7 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.973, allocations: 338.8 kB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.9732, allocations: 55.95 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.9734, allocations: 114.7 kB / 1.197 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.9737, allocations: 180.8 kB / 1.197 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9737, allocations: 4 kB / 1.197 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004498/0.9742, allocations: 217.1 kB / 1.197 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9742, allocations: 8 kB / 1.197 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.9742, allocations: 0 / 1.197 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9743, allocations: 4 kB / 1.197 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.9744, allocations: 31.97 kB / 1.197 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.9745, allocations: 4.156 kB / 1.197 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.9747, allocations: 23.84 kB / 1.197 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.9747, allocations: 15.92 kB / 1.197 GB, free: 9.48 MB / 0.9512 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.0001789/0.9749, allocations: 147.3 kB / 1.197 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.975, allocations: 27.62 kB / 1.197 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.9754, allocations: 211.8 kB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.9754, allocations: 16.02 kB / 1.197 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9755, allocations: 0 / 1.197 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9755, allocations: 0 / 1.197 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.9765, allocations: 0.6835 MB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.9765, allocations: 7.938 kB / 1.198 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.9767, allocations: 27.92 kB / 1.198 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9767, allocations: 4 kB / 1.198 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.9767, allocations: 7.938 kB / 1.198 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9767, allocations: 4 kB / 1.198 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9767, allocations: 4 kB / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.9772, allocations: 337.2 kB / 1.198 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.9773, allocations: 120.7 kB / 1.199 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.9774, allocations: 11.92 kB / 1.199 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.9776, allocations: 8 kB / 1.199 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.9776, allocations: 11.98 kB / 1.199 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.9776, allocations: 8 kB / 1.199 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000224/0.9779, allocations: 223 kB / 1.199 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9779, allocations: 4 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003759/0.9783, allocations: 75.84 kB / 1.199 GB, free: 7.426 MB / 0.9512 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.0009382/0.9792, allocations: 0.9194 MB / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.9796, allocations: 163.3 kB / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9796, allocations: 0 / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.9798, allocations: 88.27 kB / 1.2 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.9806, allocations: 143.7 kB / 1.2 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.9841, allocations: 2.82 MB / 1.203 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.9844, allocations: 0.7834 MB / 1.204 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.9847, allocations: 58.95 kB / 1.204 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.9848, allocations: 91.41 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.9848, allocations: 0 / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/1.01, allocations: 8.038 MB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.793, allocations: 20.19 kB / 1.212 GB, free: 10.25 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches