Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_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.001805/0.001805, allocations: 108 kB / 15.6 MB, free: 132 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.002011/0.002011, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.89 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6638, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1868/0.8507, allocations: 167.5 MB / 1.113 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00869/0.8594, allocations: 6.552 MB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.86, allocations: 11.94 kB / 1.12 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.8607, allocations: 162.8 kB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.8631, allocations: 0.8479 MB / 1.121 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.8641, allocations: 322.4 kB / 1.121 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009034/0.865, allocations: 0.7135 MB / 1.122 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.8655, allocations: 278.8 kB / 1.122 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.8666, allocations: 0.5565 MB / 1.123 GB, free: 232 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.8669, allocations: 263 kB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.867, allocations: 27.94 kB / 1.123 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.8676, allocations: 343.2 kB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.8677, allocations: 99.7 kB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.8679, allocations: 163.2 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.8685, allocations: 462.5 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.8685, allocations: 4 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8685, allocations: 0 / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.8685, allocations: 0 / 1.124 GB, free: 14.89 MB / 0.8887 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.0008705/0.8694, allocations: 0.6195 MB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8694, allocations: 8.031 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.8695, allocations: 58.55 kB / 1.125 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.8698, allocations: 67.42 kB / 1.125 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.8702, allocations: 309.2 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.8702, allocations: 20.56 kB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.8703, allocations: 28 kB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.8708, allocations: 311.7 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.8708, allocations: 3.984 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.8708, allocations: 16 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.8709, allocations: 8 kB / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.8713, allocations: 209.4 kB / 1.125 GB, free: 13.13 MB / 0.8887 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.001446/0.8727, allocations: 1.534 MB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.873, allocations: 122.5 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.8731, allocations: 92.8 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.8738, allocations: 299.2 kB / 1.127 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.8738, allocations: 38.56 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.8738, allocations: 0 / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007089/0.8745, allocations: 272.7 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.8746, allocations: 59.34 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.8749, allocations: 312.5 kB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.8749, allocations: 25.7 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.875, allocations: 184.1 kB / 1.128 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.8751, allocations: 43.39 kB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.8751, allocations: 41.61 kB / 1.128 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8753, allocations: 334.8 kB / 1.129 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.8754, allocations: 59.95 kB / 1.129 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.8756, allocations: 113.1 kB / 1.129 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.8759, allocations: 177 kB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8759, allocations: 3.984 kB / 1.129 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003942/0.8763, allocations: 213.1 kB / 1.129 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8764, allocations: 5.719 kB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8764, allocations: 4 kB / 1.129 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.8764, allocations: 4.203 kB / 1.129 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.8766, allocations: 43.91 kB / 1.129 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8766, allocations: 3.984 kB / 1.129 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.8768, allocations: 23.75 kB / 1.129 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.8768, allocations: 15.98 kB / 1.129 GB, free: 8.855 MB / 0.8887 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.0001274/0.8769, allocations: 153.7 kB / 1.129 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.877, allocations: 27.62 kB / 1.129 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.8774, allocations: 204.3 kB / 1.13 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8774, allocations: 3.938 kB / 1.13 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8774, allocations: 0 / 1.13 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8774, allocations: 3.984 kB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.8784, allocations: 0.6873 MB / 1.13 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8784, allocations: 0 / 1.13 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.8785, allocations: 27.98 kB / 1.13 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.8785, allocations: 0 / 1.13 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.8785, allocations: 8.156 kB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.8786, allocations: 11.94 kB / 1.13 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8786, allocations: 0 / 1.13 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.879, allocations: 341 kB / 1.131 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.8791, allocations: 112.8 kB / 1.131 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.8791, allocations: 7.938 kB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.8793, allocations: 19.92 kB / 1.131 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.8794, allocations: 11.98 kB / 1.131 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.8794, allocations: 4 kB / 1.131 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001892/0.8796, allocations: 227 kB / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8796, allocations: 0 / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003424/0.8799, allocations: 71.84 kB / 1.131 GB, free: 6.805 MB / 0.8887 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.0009116/0.8808, allocations: 0.9352 MB / 1.132 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.8812, allocations: 168 kB / 1.132 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8812, allocations: 0 / 1.132 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.8814, allocations: 75.89 kB / 1.132 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.8822, allocations: 152.5 kB / 1.132 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.8854, allocations: 2.82 MB / 1.135 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.8857, allocations: 0.7756 MB / 1.136 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.8859, allocations: 62.94 kB / 1.136 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.8861, allocations: 91.41 kB / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of SimCode: time 3.827e-06/0.8861, allocations: 0 / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.9137, allocations: 8.055 MB / 1.144 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.581, allocations: 3.156 kB / 1.144 GB, free: 9.621 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches