Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002007/0.002007, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.002762/0.002762, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.4899 GB / 0.7915 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00211/0.00211, allocations: 69.91 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4497, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.05136/0.5011, allocations: 23.59 MB / 1.344 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.5168, allocations: 5.111 MB / 1.349 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.5184, allocations: 35.69 kB / 1.349 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.52, allocations: 290 kB / 1.35 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.5247, allocations: 0.8279 MB / 1.35 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.5285, allocations: 0.7674 MB / 1.351 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004016/0.5325, allocations: 1.613 MB / 1.353 GB, free: 2.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.5336, allocations: 421.6 kB / 1.353 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.5367, allocations: 0.7255 MB / 1.354 GB, free: 1.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5377, allocations: 466 kB / 1.354 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5378, allocations: 48 kB / 1.354 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.5397, allocations: 0.503 MB / 1.355 GB, free: 360 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.54, allocations: 151.4 kB / 1.355 GB, free: 208 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007251/0.5407, allocations: 310.5 kB / 1.355 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.5431, allocations: 0.9497 MB / 1.356 GB, free: 14.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5431, allocations: 4 kB / 1.356 GB, free: 14.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5431, allocations: 0 / 1.356 GB, free: 14.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5432, allocations: 3.938 kB / 1.356 GB, free: 14.94 MB / 1.061 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.00252/0.5457, allocations: 0.9106 MB / 1.357 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.5457, allocations: 11.98 kB / 1.357 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.5461, allocations: 68.56 kB / 1.357 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.5478, allocations: 0.5771 MB / 1.358 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.5479, allocations: 32.94 kB / 1.358 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.548, allocations: 40 kB / 1.358 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.5492, allocations: 444.7 kB / 1.358 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.5492, allocations: 0 / 1.358 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.5493, allocations: 16 kB / 1.358 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.5493, allocations: 8 kB / 1.358 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.5505, allocations: 303.8 kB / 1.359 GB, free: 12.44 MB / 1.061 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.005205/0.5557, allocations: 1.923 MB / 1.36 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/0.5566, allocations: 242.9 kB / 1.361 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.557, allocations: 112.8 kB / 1.361 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.5585, allocations: 0.8506 MB / 1.362 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.5586, allocations: 38.5 kB / 1.362 GB, free: 8.938 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 3.657e-06/0.5586, allocations: 0 / 1.362 GB, free: 8.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.001358/0.56, allocations: 372.9 kB / 1.362 GB, free: 8.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.5601, allocations: 59.34 kB / 1.362 GB, free: 8.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5611, allocations: 478.1 kB / 1.362 GB, free: 8.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.5612, allocations: 29.7 kB / 1.363 GB, free: 7.988 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.5615, allocations: 264.3 kB / 1.363 GB, free: 7.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5617, allocations: 99.16 kB / 1.363 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.5619, allocations: 73.95 kB / 1.363 GB, free: 7.551 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.5622, allocations: 358.8 kB / 1.363 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.5625, allocations: 96.61 kB / 1.363 GB, free: 7.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.5629, allocations: 176 kB / 1.364 GB, free: 6.902 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.5638, allocations: 279.2 kB / 1.364 GB, free: 6.605 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.5638, allocations: 4 kB / 1.364 GB, free: 6.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001184/0.565, allocations: 365 kB / 1.364 GB, free: 6.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.565, allocations: 10.03 kB / 1.364 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.565, allocations: 0 / 1.364 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.565, allocations: 8.219 kB / 1.364 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.5656, allocations: 75.83 kB / 1.364 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.5656, allocations: 7.938 kB / 1.364 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.5661, allocations: 43.67 kB / 1.364 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.5662, allocations: 15.94 kB / 1.364 GB, free: 6.082 MB / 1.061 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.0004048/0.5666, allocations: 181.8 kB / 1.364 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.5668, allocations: 51.67 kB / 1.365 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.5683, allocations: 470.6 kB / 1.365 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.5683, allocations: 11.94 kB / 1.365 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5683, allocations: 0 / 1.365 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.5695, allocations: 0.5723 MB / 1.366 GB, free: 4.727 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.5731, allocations: 1.153 MB / 1.367 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5731, allocations: 4 kB / 1.367 GB, free: 3.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.5735, allocations: 48.11 kB / 1.367 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.5735, allocations: 4 kB / 1.367 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.5736, allocations: 11.98 kB / 1.367 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.5736, allocations: 7.938 kB / 1.367 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.5736, allocations: 4 kB / 1.367 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5753, allocations: 0.6717 MB / 1.367 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.5758, allocations: 168.8 kB / 1.368 GB, free: 2.512 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.5759, allocations: 15.92 kB / 1.368 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.5765, allocations: 19.98 kB / 1.368 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.5766, allocations: 23.97 kB / 1.368 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/0.5766, allocations: 23.92 kB / 1.368 GB, free: 2.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008334/0.5775, allocations: 346.9 kB / 1.368 GB, free: 2.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5775, allocations: 0 / 1.368 GB, free: 2.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001366/0.5788, allocations: 203.5 kB / 1.368 GB, free: 1.895 MB / 1.061 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.001121/0.58, allocations: 274.6 kB / 1.368 GB, free: 1.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00098/0.5809, allocations: 283.7 kB / 1.369 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5809, allocations: 0 / 1.369 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.5814, allocations: 151.8 kB / 1.369 GB, free: 1.191 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.5841, allocations: 339.8 kB / 1.369 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.5877, allocations: 1.082 MB / 1.37 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5888, allocations: 0.8666 MB / 1.371 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007746/0.5896, allocations: 116.7 kB / 1.371 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.5898, allocations: 51.42 kB / 1.371 GB, free: 14.68 MB / 1.076 GB Notification: Performance of SimCode: time 1.933e-06/0.5898, allocations: 0 / 1.371 GB, free: 14.68 MB / 1.076 GB Notification: Performance of Templates: time 0.04215/0.6319, allocations: 12.3 MB / 1.383 GB, free: 2.543 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.811604305170476]