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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005024/0.005024, allocations: 99.05 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.001305/0.001305, allocations: 200.9 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.243/1.243, 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 12.0.0-master/package.mo): time 2.509/2.509, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 68.11 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2787, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.4638/0.7425, allocations: 23.26 MB / 1.265 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005417/0.748, allocations: 5.086 MB / 1.27 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.7483, allocations: 29.25 kB / 1.27 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.749, allocations: 279.4 kB / 1.27 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.7505, allocations: 0.7803 MB / 1.271 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.752, allocations: 0.759 MB / 1.271 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.7535, allocations: 1.612 MB / 1.273 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.754, allocations: 492.2 kB / 1.273 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.7553, allocations: 0.6954 MB / 1.274 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.7558, allocations: 452.1 kB / 1.275 GB, free: 12.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.7559, allocations: 43.28 kB / 1.275 GB, free: 12.58 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.7567, allocations: 490.1 kB / 1.275 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.7569, allocations: 140.8 kB / 1.275 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.7571, allocations: 307.2 kB / 1.275 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.7583, allocations: 0.9377 MB / 1.276 GB, free: 11.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.7583, allocations: 0 / 1.276 GB, free: 11.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7583, allocations: 0 / 1.276 GB, free: 11.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.7583, allocations: 1.828 kB / 1.276 GB, free: 11.79 MB / 1.014 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.001175/0.7595, allocations: 0.9002 MB / 1.277 GB, free: 11.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.7595, allocations: 7.906 kB / 1.277 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.986e-05/0.7596, allocations: 76.59 kB / 1.277 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.7598, allocations: 72.75 kB / 1.277 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.7607, allocations: 0.5863 MB / 1.278 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.7607, allocations: 31.94 kB / 1.278 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.7608, allocations: 38.42 kB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.7614, allocations: 436 kB / 1.278 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.7614, allocations: 1.625 kB / 1.278 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.7615, allocations: 23.44 kB / 1.278 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.7615, allocations: 12.09 kB / 1.278 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.7619, allocations: 305.5 kB / 1.279 GB, free: 10.25 MB / 1.014 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.002387/0.7643, allocations: 1.913 MB / 1.281 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.7648, allocations: 260.9 kB / 1.281 GB, free: 8.777 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.765, allocations: 126.6 kB / 1.281 GB, free: 8.727 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000812/0.7658, allocations: 0.8471 MB / 1.282 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.7658, allocations: 40.98 kB / 1.282 GB, free: 7.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.7658, allocations: 0 / 1.282 GB, free: 7.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0005896/0.7664, allocations: 369.7 kB / 1.282 GB, free: 7.578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.7665, allocations: 59.16 kB / 1.282 GB, free: 7.512 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.767, allocations: 479.5 kB / 1.283 GB, free: 7.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.767, allocations: 29.7 kB / 1.283 GB, free: 7.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.7672, allocations: 257.1 kB / 1.283 GB, free: 7.043 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.7673, allocations: 109.8 kB / 1.283 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.7674, allocations: 70.62 kB / 1.283 GB, free: 6.914 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7676, allocations: 356.9 kB / 1.284 GB, free: 6.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.7677, allocations: 102.2 kB / 1.284 GB, free: 6.547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.768, allocations: 164.8 kB / 1.284 GB, free: 6.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.7684, allocations: 283.2 kB / 1.284 GB, free: 6.277 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7684, allocations: 4.594 kB / 1.284 GB, free: 6.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005815/0.769, allocations: 361.8 kB / 1.284 GB, free: 6.117 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.769, allocations: 6.734 kB / 1.284 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.769, allocations: 5.969 kB / 1.284 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.769, allocations: 3.344 kB / 1.284 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.7693, allocations: 84.62 kB / 1.285 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.7693, allocations: 5.75 kB / 1.285 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.7696, allocations: 39.78 kB / 1.285 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.7696, allocations: 18.14 kB / 1.285 GB, free: 6.066 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.0002015/0.7698, allocations: 179.5 kB / 1.285 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7699, allocations: 53.19 kB / 1.285 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.7707, allocations: 472 kB / 1.285 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.7707, allocations: 8.812 kB / 1.285 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7707, allocations: 3.938 kB / 1.285 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000553/0.7713, allocations: 0.5723 MB / 1.286 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.7729, allocations: 1.159 MB / 1.287 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7729, allocations: 1.875 kB / 1.287 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.7731, allocations: 50.3 kB / 1.287 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.7731, allocations: 3.328 kB / 1.287 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.7732, allocations: 10.2 kB / 1.287 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7732, allocations: 13.14 kB / 1.287 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7732, allocations: 0.8438 kB / 1.287 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.774, allocations: 0.6654 MB / 1.288 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.7742, allocations: 175.5 kB / 1.288 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.7743, allocations: 10.34 kB / 1.288 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.7745, allocations: 15.2 kB / 1.288 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.7746, allocations: 17.83 kB / 1.288 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.7746, allocations: 22.53 kB / 1.288 GB, free: 3.938 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003793/0.775, allocations: 349.8 kB / 1.288 GB, free: 3.773 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/0.775, allocations: 4 kB / 1.288 GB, free: 3.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005031/0.7755, allocations: 199.4 kB / 1.288 GB, free: 3.727 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.001489/0.777, allocations: 1.397 MB / 1.29 GB, free: 2.746 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.7774, allocations: 297.4 kB / 1.29 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7775, allocations: 1.469 kB / 1.29 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.7777, allocations: 171.1 kB / 1.29 GB, free: 2.586 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7791, allocations: 337.3 kB / 1.291 GB, free: 2.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.7839, allocations: 4.239 MB / 1.295 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.7844, allocations: 0.8621 MB / 1.296 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.7847, allocations: 123.2 kB / 1.296 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.7849, allocations: 193.7 kB / 1.296 GB, free: 15.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.7849, allocations: 4 kB / 1.296 GB, free: 15.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.712/2.496, allocations: 16.97 MB / 1.312 GB, free: 13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/14.86, allocations: 4.609 kB / 1.312 GB, free: 13 MB / 1.029 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=400 --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