Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_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.001095/0.001096, 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.001272/0.001272, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.395/2.395, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5181, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01924/0.5374, allocations: 23.25 MB / 1.04 GB, free: 11.15 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.5432, allocations: 5.089 MB / 1.045 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.5435, allocations: 31.81 kB / 1.045 GB, free: 6.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.5441, allocations: 274.1 kB / 1.045 GB, free: 5.746 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.5454, allocations: 0.785 MB / 1.046 GB, free: 4.957 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.5467, allocations: 0.7675 MB / 1.047 GB, free: 4.195 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.5479, allocations: 1.606 MB / 1.048 GB, free: 2.582 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/0.5484, allocations: 481.5 kB / 1.049 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.5494, allocations: 0.6178 MB / 1.05 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.5499, allocations: 454 kB / 1.05 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.5499, allocations: 48 kB / 1.05 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.5506, allocations: 487.1 kB / 1.05 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.5508, allocations: 135.5 kB / 1.051 GB, free: 396 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.551, allocations: 310.5 kB / 1.051 GB, free: 84 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008999/0.5519, allocations: 0.9076 MB / 1.052 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5519, allocations: 3.984 kB / 1.052 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.552, allocations: 7.938 kB / 1.052 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.552, allocations: 3.938 kB / 1.052 GB, free: 15.16 MB / 0.8106 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.001052/0.553, allocations: 0.8781 MB / 1.053 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5531, allocations: 12.03 kB / 1.053 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.5531, allocations: 82.64 kB / 1.053 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.5533, allocations: 64.28 kB / 1.053 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.5541, allocations: 0.5491 MB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5541, allocations: 29 kB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.5542, allocations: 39.91 kB / 1.053 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.5548, allocations: 436.7 kB / 1.054 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5548, allocations: 4 kB / 1.054 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.5548, allocations: 16 kB / 1.054 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5549, allocations: 12 kB / 1.054 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.5553, allocations: 311.8 kB / 1.054 GB, free: 12.63 MB / 0.8106 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.002193/0.5575, allocations: 1.919 MB / 1.056 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.558, allocations: 262.7 kB / 1.056 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.5581, allocations: 120.8 kB / 1.056 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/0.5588, allocations: 0.8506 MB / 1.057 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5589, allocations: 34.56 kB / 1.057 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.5589, allocations: 0 / 1.057 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.0005861/0.5595, allocations: 374.1 kB / 1.058 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.5595, allocations: 55.39 kB / 1.058 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.56, allocations: 474.1 kB / 1.058 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.56, allocations: 29.7 kB / 1.058 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.5602, allocations: 264 kB / 1.058 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.5602, allocations: 94.64 kB / 1.058 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.5603, allocations: 73.92 kB / 1.059 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5604, allocations: 358.8 kB / 1.059 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5606, allocations: 96.61 kB / 1.059 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5608, allocations: 172 kB / 1.059 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.5611, allocations: 278.7 kB / 1.059 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5612, allocations: 3.938 kB / 1.059 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005188/0.5617, allocations: 364.8 kB / 1.06 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5617, allocations: 8 kB / 1.06 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5617, allocations: 0 / 1.06 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5617, allocations: 7.938 kB / 1.06 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.562, allocations: 76.12 kB / 1.06 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.562, allocations: 4 kB / 1.06 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.5622, allocations: 47.45 kB / 1.06 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.5623, allocations: 16 kB / 1.06 GB, free: 6.266 MB / 0.8106 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.0001603/0.5624, allocations: 181.2 kB / 1.06 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.5625, allocations: 51.42 kB / 1.06 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.5632, allocations: 473 kB / 1.061 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5633, allocations: 7.938 kB / 1.061 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5633, allocations: 0 / 1.061 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004847/0.5638, allocations: 0.5723 MB / 1.061 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5653, allocations: 1.152 MB / 1.062 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5653, allocations: 4 kB / 1.062 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.5655, allocations: 51.91 kB / 1.062 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5655, allocations: 4 kB / 1.062 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5655, allocations: 11.98 kB / 1.062 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5655, allocations: 4 kB / 1.062 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5655, allocations: 7.938 kB / 1.062 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.5663, allocations: 0.6568 MB / 1.063 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.5665, allocations: 172.4 kB / 1.063 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.5665, allocations: 8 kB / 1.063 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.5668, allocations: 19.98 kB / 1.063 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.5668, allocations: 23.86 kB / 1.063 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.5669, allocations: 19.98 kB / 1.063 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003472/0.5672, allocations: 350.8 kB / 1.064 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5672, allocations: 0 / 1.064 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005194/0.5677, allocations: 191.8 kB / 1.064 GB, free: 2.105 MB / 0.8106 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.001353/0.5691, allocations: 1.407 MB / 1.065 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.5696, allocations: 311.4 kB / 1.065 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5696, allocations: 448 / 1.065 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.5698, allocations: 159.8 kB / 1.066 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5712, allocations: 352.3 kB / 1.066 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.5757, allocations: 4.291 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5761, allocations: 0.8588 MB / 1.071 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003342/0.5764, allocations: 128.6 kB / 1.071 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.5766, allocations: 191.3 kB / 1.071 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.5766, allocations: 0 / 1.071 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.741/4.318, allocations: 16.85 MB / 1.088 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/14.87, allocations: 4 kB / 1.088 GB, free: 9.621 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches