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.00782/0.00782, allocations: 98.95 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 201.8 kB / 16.68 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.824/2.824, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.83 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2951, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02501/0.3201, allocations: 23.25 MB / 1.243 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007663/0.3278, allocations: 5.089 MB / 1.248 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.3285, allocations: 31.81 kB / 1.248 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.3293, allocations: 278.1 kB / 1.248 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.3311, allocations: 0.7889 MB / 1.249 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.333, allocations: 0.755 MB / 1.25 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5546/0.8876, allocations: 1.603 MB / 1.251 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.8886, allocations: 484.7 kB / 1.252 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.8905, allocations: 0.6214 MB / 1.252 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007852/0.8913, allocations: 452.2 kB / 1.253 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.8914, allocations: 46.5 kB / 1.253 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.8926, allocations: 489.9 kB / 1.253 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.8927, allocations: 138.3 kB / 1.253 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.8931, allocations: 309.5 kB / 1.254 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.8943, allocations: 0.9367 MB / 1.255 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8944, allocations: 0 / 1.255 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8944, allocations: 0.8125 kB / 1.255 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8944, allocations: 3.438 kB / 1.255 GB, free: 5.773 MB / 0.9981 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.001176/0.8956, allocations: 0.9016 MB / 1.255 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8956, allocations: 9.594 kB / 1.255 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.8957, allocations: 74.45 kB / 1.256 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.8959, allocations: 73.66 kB / 1.256 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.8968, allocations: 0.5763 MB / 1.256 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.8968, allocations: 31.48 kB / 1.256 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.8969, allocations: 48.66 kB / 1.256 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.8975, allocations: 435.9 kB / 1.257 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.8975, allocations: 3.281 kB / 1.257 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.8975, allocations: 18.09 kB / 1.257 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.8975, allocations: 8.406 kB / 1.257 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.898, allocations: 302.6 kB / 1.257 GB, free: 4.77 MB / 0.9981 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.002161/0.9001, allocations: 1.918 MB / 1.259 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.9006, allocations: 260 kB / 1.259 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.9008, allocations: 121.2 kB / 1.259 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.9014, allocations: 0.8513 MB / 1.26 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.9014, allocations: 33.94 kB / 1.26 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.9014, allocations: 3.75 kB / 1.26 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.000626/0.9021, allocations: 377.6 kB / 1.26 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.9021, allocations: 55.19 kB / 1.26 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.9026, allocations: 478.3 kB / 1.261 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.9026, allocations: 32.3 kB / 1.261 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.9028, allocations: 267.3 kB / 1.261 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.9028, allocations: 100.7 kB / 1.261 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.9029, allocations: 69.83 kB / 1.261 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.9032, allocations: 359 kB / 1.262 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9033, allocations: 100.7 kB / 1.262 GB, free: 17.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.9035, allocations: 173.8 kB / 1.262 GB, free: 17.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.9039, allocations: 278.6 kB / 1.262 GB, free: 17.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9039, allocations: 2.438 kB / 1.262 GB, free: 17.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000531/0.9044, allocations: 367.6 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9045, allocations: 5.562 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9045, allocations: 0 / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9045, allocations: 5.703 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.9048, allocations: 77.75 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9048, allocations: 7.109 kB / 1.263 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.9051, allocations: 34.05 kB / 1.263 GB, free: 17.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.9051, allocations: 18.62 kB / 1.263 GB, free: 17.72 MB / 1.014 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.0001975/0.9053, allocations: 181.7 kB / 1.263 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.9054, allocations: 52.14 kB / 1.263 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/0.9061, allocations: 473.1 kB / 1.263 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.9062, allocations: 10.56 kB / 1.263 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9062, allocations: 3.938 kB / 1.263 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005483/0.9067, allocations: 0.5694 MB / 1.264 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.9085, allocations: 1.158 MB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9085, allocations: 3.188 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.9087, allocations: 47.44 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.9087, allocations: 2.625 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.9088, allocations: 16.44 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.9088, allocations: 2.875 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9088, allocations: 3.328 kB / 1.265 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.9096, allocations: 0.678 MB / 1.266 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.9098, allocations: 171.2 kB / 1.266 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.9099, allocations: 7.922 kB / 1.266 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.9102, allocations: 21.8 kB / 1.266 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.9102, allocations: 19.55 kB / 1.266 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.9103, allocations: 17.41 kB / 1.266 GB, free: 16.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000449/0.9107, allocations: 346.5 kB / 1.266 GB, free: 16.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9107, allocations: 7.031 kB / 1.266 GB, free: 16.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007659/0.9115, allocations: 207.2 kB / 1.267 GB, free: 16.2 MB / 1.014 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.001887/0.9134, allocations: 1.39 MB / 1.268 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.914, allocations: 286.8 kB / 1.268 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.914, allocations: 5.531 kB / 1.268 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.9142, allocations: 161.4 kB / 1.268 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.9159, allocations: 344.2 kB / 1.269 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/0.9221, allocations: 4.232 MB / 1.273 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.9228, allocations: 0.8665 MB / 1.274 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005825/0.9234, allocations: 117.4 kB / 1.274 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.9237, allocations: 190.3 kB / 1.274 GB, free: 12.76 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/0.9237, allocations: 0 / 1.274 GB, free: 12.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.9918, allocations: 16.99 MB / 1.291 GB, free: 11.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.722/9.714, allocations: 7.25 kB / 1.291 GB, free: 11.21 MB / 1.014 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