Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0027/0.0027, allocations: 157.6 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.707/1.707, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.697/2.697, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 71.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.348, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.6299/0.9779, allocations: 21.6 MB / 1.139 GB, free: 43.38 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005576/0.9835, allocations: 4.744 MB / 1.143 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.984, allocations: 38.25 kB / 1.143 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.9847, allocations: 281.4 kB / 1.143 GB, free: 43.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.9862, allocations: 0.8334 MB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.9877, allocations: 0.784 MB / 1.145 GB, free: 43.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.9891, allocations: 1.645 MB / 1.147 GB, free: 42.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.9895, allocations: 383.1 kB / 1.147 GB, free: 42.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.9908, allocations: 0.649 MB / 1.148 GB, free: 42.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.9914, allocations: 460 kB / 1.148 GB, free: 42.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.9915, allocations: 46 kB / 1.148 GB, free: 42.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008295/0.9923, allocations: 413.8 kB / 1.149 GB, free: 42.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.9924, allocations: 143.5 kB / 1.149 GB, free: 42.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.9926, allocations: 257.6 kB / 1.149 GB, free: 42.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.9937, allocations: 0.9404 MB / 1.15 GB, free: 42.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9937, allocations: 0 / 1.15 GB, free: 42.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9937, allocations: 0 / 1.15 GB, free: 42.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9937, allocations: 0 / 1.15 GB, free: 42.2 MB / 1.076 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.001072/0.9948, allocations: 0.8332 MB / 1.151 GB, free: 41.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.9948, allocations: 14.72 kB / 1.151 GB, free: 41.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.995, allocations: 70.98 kB / 1.151 GB, free: 41.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.9958, allocations: 0.5078 MB / 1.151 GB, free: 41.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.9958, allocations: 37.19 kB / 1.151 GB, free: 41.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.9959, allocations: 38.38 kB / 1.151 GB, free: 41.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.9965, allocations: 0.4972 MB / 1.152 GB, free: 40.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9965, allocations: 6.812 kB / 1.152 GB, free: 40.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.9965, allocations: 15 kB / 1.152 GB, free: 40.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.9965, allocations: 8.688 kB / 1.152 GB, free: 40.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.997, allocations: 304.5 kB / 1.152 GB, free: 40.82 MB / 1.076 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.001962/0.9989, allocations: 1.446 MB / 1.154 GB, free: 39.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.9994, allocations: 245.5 kB / 1.154 GB, free: 39.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.9995, allocations: 116.2 kB / 1.154 GB, free: 39.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.9999, allocations: 105 kB / 1.154 GB, free: 39.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/1, allocations: 37.34 kB / 1.154 GB, free: 39.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/1, allocations: 0 / 1.154 GB, free: 39.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=26): time 0.00058/1.001, allocations: 366 kB / 1.154 GB, free: 39.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/1.001, allocations: 58.25 kB / 1.154 GB, free: 39.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/1.001, allocations: 394.2 kB / 1.155 GB, free: 39.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.001, allocations: 36.33 kB / 1.155 GB, free: 39.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.001, allocations: 279.6 kB / 1.155 GB, free: 39.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/1.001, allocations: 99.38 kB / 1.155 GB, free: 38.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/1.001, allocations: 66.28 kB / 1.155 GB, free: 38.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/1.001, allocations: 354.8 kB / 1.156 GB, free: 38.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/1.001, allocations: 96 kB / 1.156 GB, free: 38.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/1.002, allocations: 249.8 kB / 1.156 GB, free: 38.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/1.002, allocations: 294 kB / 1.156 GB, free: 38.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.002, allocations: 0 / 1.156 GB, free: 38.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004998/1.002, allocations: 356.3 kB / 1.157 GB, free: 38.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.002, allocations: 11.16 kB / 1.157 GB, free: 38.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.002, allocations: 0 / 1.157 GB, free: 38.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.002, allocations: 5.719 kB / 1.157 GB, free: 38.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/1.003, allocations: 74.48 kB / 1.157 GB, free: 38.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.003, allocations: 6.75 kB / 1.157 GB, free: 38.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.003, allocations: 35.62 kB / 1.157 GB, free: 37.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/1.003, allocations: 19.44 kB / 1.157 GB, free: 37.99 MB / 1.076 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.0001562/1.003, allocations: 175.8 kB / 1.157 GB, free: 37.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/1.003, allocations: 48.34 kB / 1.157 GB, free: 37.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/1.004, allocations: 474.1 kB / 1.157 GB, free: 37.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.004, allocations: 1.969 kB / 1.157 GB, free: 37.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.004, allocations: 5.766 kB / 1.157 GB, free: 37.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004275/1.004, allocations: 0.5805 MB / 1.158 GB, free: 37.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/1.006, allocations: 0.9464 MB / 1.159 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.006, allocations: 2.812 kB / 1.159 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/1.006, allocations: 57.28 kB / 1.159 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.006, allocations: 2.562 kB / 1.159 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/1.006, allocations: 12.31 kB / 1.159 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.006, allocations: 2.594 kB / 1.159 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.006, allocations: 2.938 kB / 1.159 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/1.007, allocations: 0.6817 MB / 1.16 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.007, allocations: 100.7 kB / 1.16 GB, free: 36.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/1.007, allocations: 6.938 kB / 1.16 GB, free: 36.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/1.007, allocations: 13.48 kB / 1.16 GB, free: 36.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/1.007, allocations: 22.12 kB / 1.16 GB, free: 36.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/1.007, allocations: 14.88 kB / 1.16 GB, free: 36.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002467/1.007, allocations: 279.2 kB / 1.16 GB, free: 36.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 2.844 kB / 1.16 GB, free: 36.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000655/1.008, allocations: 211 kB / 1.16 GB, free: 35.99 MB / 1.076 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.0004528/1.009, allocations: 281 kB / 1.16 GB, free: 35.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004407/1.009, allocations: 285.5 kB / 1.161 GB, free: 35.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.009, allocations: 0 / 1.161 GB, free: 35.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/1.009, allocations: 156.3 kB / 1.161 GB, free: 35.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.01, allocations: 259.4 kB / 1.161 GB, free: 35.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/1.012, allocations: 1.07 MB / 1.162 GB, free: 34.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/1.012, allocations: 271 kB / 1.162 GB, free: 34.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002825/1.012, allocations: 112 kB / 1.163 GB, free: 34.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/1.012, allocations: 46.12 kB / 1.163 GB, free: 34.85 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/1.012, allocations: 0 / 1.163 GB, free: 34.85 MB / 1.076 GB Notification: Performance of Templates: time 0.01728/1.03, allocations: 10.78 MB / 1.173 GB, free: 33.46 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.508278500055894]