Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_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.0015/0.0015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001912/0.001911, allocations: 188.3 kB / 16.25 MB, free: 6.625 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.887/1.887, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 461.9 MB / 0.7344 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.22 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3325, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0233/0.3558, allocations: 23.12 MB / 1.075 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007637/0.3635, allocations: 5.051 MB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3646, allocations: 19.88 kB / 1.08 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.3656, allocations: 234.6 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.3678, allocations: 0.7349 MB / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.37, allocations: 0.6996 MB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3726, allocations: 1.613 MB / 1.083 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.3737, allocations: 489.5 kB / 1.084 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.3757, allocations: 0.6266 MB / 1.084 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.3766, allocations: 473.9 kB / 1.085 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3767, allocations: 48 kB / 1.085 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3781, allocations: 495 kB / 1.085 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.3783, allocations: 143.5 kB / 1.085 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.3788, allocations: 310.5 kB / 1.086 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.3805, allocations: 0.9153 MB / 1.086 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3805, allocations: 0 / 1.086 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3805, allocations: 4 kB / 1.086 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.3805, allocations: 0 / 1.086 GB, free: 5.59 MB / 0.8419 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.001689/0.3822, allocations: 0.8921 MB / 1.087 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3823, allocations: 8.625 kB / 1.087 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.3824, allocations: 78.7 kB / 1.087 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.3827, allocations: 68.19 kB / 1.088 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3837, allocations: 0.5569 MB / 1.088 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3838, allocations: 29 kB / 1.088 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.3838, allocations: 44 kB / 1.088 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.3846, allocations: 436.7 kB / 1.089 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3846, allocations: 0 / 1.089 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.3847, allocations: 19.98 kB / 1.089 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3847, allocations: 12 kB / 1.089 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.3852, allocations: 303.8 kB / 1.089 GB, free: 3.047 MB / 0.8419 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.002853/0.3881, allocations: 1.907 MB / 1.091 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.3886, allocations: 262.8 kB / 1.091 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3888, allocations: 120.8 kB / 1.091 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.3897, allocations: 0.8428 MB / 1.092 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3897, allocations: 38.56 kB / 1.092 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.3897, allocations: 0 / 1.092 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000721/0.3904, allocations: 379 kB / 1.092 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3905, allocations: 55.41 kB / 1.092 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.3911, allocations: 469.9 kB / 1.093 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.3911, allocations: 33.7 kB / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3913, allocations: 264.1 kB / 1.093 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.3914, allocations: 90.66 kB / 1.093 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3915, allocations: 77.92 kB / 1.093 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3917, allocations: 358.7 kB / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3919, allocations: 100.5 kB / 1.094 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3921, allocations: 176 kB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3925, allocations: 278.7 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3925, allocations: 0 / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006127/0.3932, allocations: 373.3 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3932, allocations: 4 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3932, allocations: 4 kB / 1.094 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3932, allocations: 7.938 kB / 1.095 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3935, allocations: 67.91 kB / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3935, allocations: 4 kB / 1.095 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3939, allocations: 47.83 kB / 1.095 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.3939, allocations: 19.98 kB / 1.095 GB, free: 12.69 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.0002214/0.3941, allocations: 181.6 kB / 1.095 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3942, allocations: 51.44 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/0.3951, allocations: 465.1 kB / 1.095 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.3951, allocations: 11.94 kB / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3951, allocations: 0 / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005901/0.3957, allocations: 0.5702 MB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3975, allocations: 1.148 MB / 1.097 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3975, allocations: 4.188 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.3978, allocations: 55.91 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3978, allocations: 4 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3978, allocations: 8 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3978, allocations: 7.984 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3978, allocations: 3.938 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.3987, allocations: 0.6638 MB / 1.098 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.399, allocations: 176.3 kB / 1.098 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.399, allocations: 8 kB / 1.098 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.3994, allocations: 19.98 kB / 1.098 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3994, allocations: 31.84 kB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.3995, allocations: 15.98 kB / 1.098 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004019/0.3999, allocations: 342.9 kB / 1.098 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3999, allocations: 0 / 1.098 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006822/0.4006, allocations: 195.7 kB / 1.098 GB, free: 8.527 MB / 0.8575 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.001773/0.4024, allocations: 1.39 MB / 1.1 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005856/0.4029, allocations: 318.9 kB / 1.1 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.403, allocations: 448 / 1.1 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.4032, allocations: 167.8 kB / 1.1 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4048, allocations: 331.7 kB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.4107, allocations: 4.442 MB / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.4112, allocations: 0.8627 MB / 1.106 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004718/0.4117, allocations: 116.7 kB / 1.106 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.412, allocations: 191.4 kB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of SimCode: time 1.222e-06/0.412, allocations: 3.938 kB / 1.106 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.476/8.888, allocations: 16.6 MB / 1.122 GB, free: 204 kB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/8.888, allocations: 243.7 kB / 1.123 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.245/13.13, allocations: 0 / 1.123 GB, free: 15.94 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches