Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_9_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_9_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.001069/0.001069, 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.001049/0.001049, 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7018, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02347/0.7253, allocations: 23.23 MB / 1.111 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007715/0.7331, allocations: 5.092 MB / 1.116 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.7341, allocations: 29.28 kB / 1.116 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.7349, allocations: 282.6 kB / 1.117 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.7372, allocations: 0.8302 MB / 1.117 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.7393, allocations: 0.7691 MB / 1.118 GB, free: 444 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.7415, allocations: 1.617 MB / 1.12 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.7424, allocations: 485.9 kB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.7442, allocations: 0.6338 MB / 1.121 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.7453, allocations: 451.1 kB / 1.121 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.7454, allocations: 46.31 kB / 1.121 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.7469, allocations: 492.2 kB / 1.122 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.7471, allocations: 133.6 kB / 1.122 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.7474, allocations: 310.7 kB / 1.122 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.7489, allocations: 0.9195 MB / 1.123 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.749, allocations: 1.984 kB / 1.123 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/0.749, allocations: 4 kB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.749, allocations: 0 / 1.123 GB, free: 14.2 MB / 0.8887 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.001428/0.7504, allocations: 0.8914 MB / 1.124 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7505, allocations: 13.56 kB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.7507, allocations: 70.44 kB / 1.124 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.7517, allocations: 0.5697 MB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.7518, allocations: 32.34 kB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.7519, allocations: 46.55 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.7526, allocations: 437.2 kB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7526, allocations: 0 / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.7527, allocations: 16.91 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.7527, allocations: 9.531 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.7532, allocations: 304 kB / 1.125 GB, free: 12.75 MB / 0.8887 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.002708/0.7559, allocations: 1.916 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.7565, allocations: 263.5 kB / 1.128 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.7567, allocations: 124.8 kB / 1.128 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000833/0.7575, allocations: 0.8509 MB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7576, allocations: 32.64 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.7576, allocations: 0 / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.0007259/0.7583, allocations: 364.2 kB / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.7584, allocations: 59.28 kB / 1.129 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.759, allocations: 476.5 kB / 1.129 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.7591, allocations: 36.2 kB / 1.129 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.7593, allocations: 263.7 kB / 1.13 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.7594, allocations: 93.56 kB / 1.13 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.7595, allocations: 70.75 kB / 1.13 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7596, allocations: 356.9 kB / 1.13 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.7598, allocations: 101.4 kB / 1.13 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.76, allocations: 173.5 kB / 1.13 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.7604, allocations: 287.8 kB / 1.131 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7605, allocations: 1.469 kB / 1.131 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005785/0.761, allocations: 361.1 kB / 1.131 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7611, allocations: 6.25 kB / 1.131 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7611, allocations: 1.219 kB / 1.131 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7611, allocations: 8.062 kB / 1.131 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.7614, allocations: 82.7 kB / 1.131 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.7614, allocations: 8.062 kB / 1.131 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.7617, allocations: 40.36 kB / 1.131 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.7617, allocations: 16.38 kB / 1.131 GB, free: 8.562 MB / 0.8887 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.0002089/0.762, allocations: 175.5 kB / 1.131 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7621, allocations: 51.91 kB / 1.131 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.7629, allocations: 480.5 kB / 1.132 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005564/0.7634, allocations: 0.5656 MB / 1.132 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7634, allocations: 3.938 kB / 1.132 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.7637, allocations: 169.6 kB / 1.133 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.7638, allocations: 6.906 kB / 1.133 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.764, allocations: 12.5 kB / 1.133 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.7641, allocations: 22.66 kB / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007565/0.7649, allocations: 460 kB / 1.133 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008989/0.7658, allocations: 0.7339 MB / 1.134 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002489/0.766, allocations: 164.4 kB / 1.134 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004341/0.7665, allocations: 338.6 kB / 1.134 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of Backend: time 5.11e-07/0.7665, allocations: 0 / 1.134 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7678, allocations: 450.9 kB / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002645/0.7705, allocations: 1.619 MB / 1.136 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of Templates: time 0.02229/0.7928, allocations: 11.62 MB / 1.148 GB, free: 3.207 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches