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: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001237/0.001237, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 71.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7384, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02196/0.7604, allocations: 23.24 MB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007216/0.7677, allocations: 5.092 MB / 1.236 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006709/0.7684, allocations: 27.81 kB / 1.236 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007591/0.7691, allocations: 274.1 kB / 1.236 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.7709, allocations: 0.785 MB / 1.237 GB, free: 104 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.7729, allocations: 0.7706 MB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.7755, allocations: 1.606 MB / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008151/0.7763, allocations: 489.2 kB / 1.24 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.7783, allocations: 0.6282 MB / 1.241 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.7791, allocations: 450 kB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-05/0.7792, allocations: 48 kB / 1.241 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.7805, allocations: 491.1 kB / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.7807, allocations: 139.5 kB / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.781, allocations: 310.5 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.7824, allocations: 0.9173 MB / 1.243 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7824, allocations: 0 / 1.243 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7824, allocations: 0 / 1.243 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7824, allocations: 0 / 1.243 GB, free: 10.3 MB / 0.9669 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.00128/0.7837, allocations: 0.892 MB / 1.244 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7837, allocations: 8.031 kB / 1.244 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.7839, allocations: 68.19 kB / 1.244 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.7849, allocations: 0.5805 MB / 1.244 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.7849, allocations: 32.94 kB / 1.244 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.785, allocations: 40 kB / 1.244 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.7857, allocations: 436.7 kB / 1.245 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7857, allocations: 0 / 1.245 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.7858, allocations: 16 kB / 1.245 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.7858, allocations: 19.98 kB / 1.245 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.7863, allocations: 303.8 kB / 1.245 GB, free: 7.809 MB / 0.9669 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.002448/0.7888, allocations: 1.903 MB / 1.247 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.7893, allocations: 262.8 kB / 1.247 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7895, allocations: 124.7 kB / 1.247 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/0.7903, allocations: 0.8545 MB / 1.248 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.7903, allocations: 38.56 kB / 1.248 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.7903, allocations: 0 / 1.248 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0006672/0.791, allocations: 373.2 kB / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.791, allocations: 59.34 kB / 1.249 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.7915, allocations: 474 kB / 1.249 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.7916, allocations: 33.7 kB / 1.249 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.7918, allocations: 260.1 kB / 1.249 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.7919, allocations: 90.66 kB / 1.249 GB, free: 3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.792, allocations: 77.92 kB / 1.25 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7921, allocations: 358.8 kB / 1.25 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.7923, allocations: 92.61 kB / 1.25 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.7925, allocations: 176 kB / 1.25 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.7929, allocations: 283.2 kB / 1.25 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7929, allocations: 0 / 1.25 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005504/0.7934, allocations: 364.8 kB / 1.251 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7935, allocations: 4 kB / 1.251 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7935, allocations: 8 kB / 1.251 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7935, allocations: 4 kB / 1.251 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.7938, allocations: 71.91 kB / 1.251 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.7938, allocations: 19.84 kB / 1.251 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.7941, allocations: 39.75 kB / 1.251 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.7941, allocations: 16 kB / 1.251 GB, free: 1.449 MB / 0.9669 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.0001925/0.7943, allocations: 177.8 kB / 1.251 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.7944, allocations: 47.44 kB / 1.251 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.7952, allocations: 478.4 kB / 1.252 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005362/0.7957, allocations: 0.5684 MB / 1.252 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7957, allocations: 3.938 kB / 1.252 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.7959, allocations: 176.4 kB / 1.252 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.796, allocations: 4 kB / 1.252 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.7963, allocations: 8 kB / 1.252 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.7963, allocations: 23.97 kB / 1.252 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007059/0.797, allocations: 460.3 kB / 1.253 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008457/0.7979, allocations: 0.7443 MB / 1.254 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002075/0.7981, allocations: 160.2 kB / 1.254 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003649/0.7985, allocations: 338.9 kB / 1.254 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of Backend: time 6.41e-07/0.7985, allocations: 0 / 1.254 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.7997, allocations: 446.8 kB / 1.254 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002342/0.802, allocations: 1.634 MB / 1.256 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.01906/0.8211, allocations: 11.61 MB / 1.267 GB, free: 0.5977 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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