Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",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.001901/0.001901, 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.002176/0.002176, allocations: 194.1 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 71.98 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2631, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02554/0.2886, allocations: 23.25 MB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007454/0.2961, allocations: 5.088 MB / 1.092 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.2966, allocations: 27.81 kB / 1.092 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.2972, allocations: 278.1 kB / 1.092 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.2989, allocations: 0.7889 MB / 1.093 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3005, allocations: 0.7515 MB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3023, allocations: 1.61 MB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/0.303, allocations: 485.5 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.3042, allocations: 0.6051 MB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.3049, allocations: 461.9 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.305, allocations: 44 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009335/0.3059, allocations: 487.1 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3061, allocations: 143.5 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.3064, allocations: 310.5 kB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3076, allocations: 0.9075 MB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3076, allocations: 0 / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3076, allocations: 0 / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3076, allocations: 0 / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001328/0.309, allocations: 0.8882 MB / 1.099 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.309, allocations: 12.03 kB / 1.099 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.711e-05/0.3091, allocations: 74.72 kB / 1.099 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.3093, allocations: 72.17 kB / 1.099 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.3103, allocations: 0.5374 MB / 1.1 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.3103, allocations: 33 kB / 1.1 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.3104, allocations: 40 kB / 1.1 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.3112, allocations: 440.6 kB / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3112, allocations: 0 / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.3112, allocations: 16 kB / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3113, allocations: 12 kB / 1.101 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.3118, allocations: 299.8 kB / 1.101 GB, free: 8.352 MB / 0.8575 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.002759/0.3146, allocations: 1.931 MB / 1.103 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.3151, allocations: 260.4 kB / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3153, allocations: 128.7 kB / 1.103 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/0.3162, allocations: 0.8506 MB / 1.104 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3163, allocations: 38.5 kB / 1.104 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.3163, allocations: 0 / 1.104 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007084/0.317, allocations: 374.1 kB / 1.104 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3171, allocations: 51.41 kB / 1.104 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.3176, allocations: 481.9 kB / 1.105 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3177, allocations: 29.7 kB / 1.105 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3179, allocations: 264.1 kB / 1.105 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.318, allocations: 90.66 kB / 1.105 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3181, allocations: 77.92 kB / 1.105 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3183, allocations: 354.8 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.3185, allocations: 100.6 kB / 1.106 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3188, allocations: 175.9 kB / 1.106 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.3192, allocations: 283.2 kB / 1.106 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3192, allocations: 0 / 1.106 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000624/0.3198, allocations: 360.8 kB / 1.106 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3199, allocations: 8 kB / 1.106 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3199, allocations: 0 / 1.106 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3199, allocations: 7.938 kB / 1.106 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.3202, allocations: 75.89 kB / 1.107 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3202, allocations: 7.938 kB / 1.107 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.3205, allocations: 35.64 kB / 1.107 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3205, allocations: 28.19 kB / 1.107 GB, free: 1.961 MB / 0.8575 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 (39): * Single equations (assignments): 39 * 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.0002156/0.3207, allocations: 177.7 kB / 1.107 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3208, allocations: 47.44 kB / 1.107 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008519/0.3217, allocations: 469.3 kB / 1.107 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.3217, allocations: 11.92 kB / 1.107 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3217, allocations: 0 / 1.107 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/0.3224, allocations: 0.5704 MB / 1.108 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3242, allocations: 1.152 MB / 1.109 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3242, allocations: 7.938 kB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.3244, allocations: 47.97 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3245, allocations: 4.188 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3245, allocations: 12 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3245, allocations: 11.94 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3245, allocations: 4 kB / 1.109 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.3254, allocations: 0.6599 MB / 1.11 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.3256, allocations: 180.2 kB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.3257, allocations: 7.984 kB / 1.11 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.326, allocations: 12 kB / 1.11 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3261, allocations: 27.91 kB / 1.11 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.3261, allocations: 11.98 kB / 1.11 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004364/0.3265, allocations: 350.9 kB / 1.11 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3265, allocations: 0 / 1.11 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005899/0.3271, allocations: 195.8 kB / 1.11 GB, free: 13.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001719/0.3289, allocations: 1.399 MB / 1.112 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.3294, allocations: 313.4 kB / 1.112 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3295, allocations: 0 / 1.112 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.3297, allocations: 159.8 kB / 1.112 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.3313, allocations: 335.5 kB / 1.113 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.3369, allocations: 4.298 MB / 1.117 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.3374, allocations: 0.8705 MB / 1.118 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003757/0.3377, allocations: 116.7 kB / 1.118 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.338, allocations: 195.4 kB / 1.118 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.338, allocations: 0 / 1.118 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.3827, allocations: 16.88 MB / 1.134 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.539, allocations: 9.516 kB / 1.134 GB, free: 5.301 MB / 0.8887 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_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_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches