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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.937/2.937, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 65.27 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3124, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02519/0.3376, allocations: 23.68 MB / 1.339 GB, free: 1.977 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007698/0.3453, allocations: 5.139 MB / 1.344 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.3461, allocations: 35.69 kB / 1.344 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.347, allocations: 290 kB / 1.344 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.349, allocations: 0.8397 MB / 1.345 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3508, allocations: 0.8049 MB / 1.346 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.3528, allocations: 1.656 MB / 1.348 GB, free: 9.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005481/0.3533, allocations: 386.1 kB / 1.348 GB, free: 8.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.3549, allocations: 0.726 MB / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.3554, allocations: 470 kB / 1.349 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.3555, allocations: 47.94 kB / 1.349 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3565, allocations: 0.5069 MB / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3567, allocations: 143.4 kB / 1.35 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.357, allocations: 306.5 kB / 1.35 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3583, allocations: 0.9264 MB / 1.351 GB, free: 5.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3583, allocations: 8 kB / 1.351 GB, free: 5.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3583, allocations: 0 / 1.351 GB, free: 5.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.3584, allocations: 0 / 1.351 GB, free: 5.699 MB / 1.045 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.001305/0.3597, allocations: 0.8276 MB / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3597, allocations: 8.031 kB / 1.352 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.3599, allocations: 72.52 kB / 1.352 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009712/0.3609, allocations: 0.5037 MB / 1.352 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3609, allocations: 36.94 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.361, allocations: 43.95 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.3617, allocations: 432.7 kB / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3617, allocations: 4 kB / 1.353 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.3617, allocations: 16 kB / 1.353 GB, free: 3.691 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.3618, allocations: 11.98 kB / 1.353 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.3623, allocations: 311.8 kB / 1.353 GB, free: 3.371 MB / 1.045 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.002563/0.3648, allocations: 1.776 MB / 1.355 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.3654, allocations: 255.6 kB / 1.355 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.3655, allocations: 116.7 kB / 1.355 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004777/0.366, allocations: 104 kB / 1.355 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.366, allocations: 30.56 kB / 1.356 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.366, allocations: 4 kB / 1.356 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of matching and sorting (n=26): time 0.0006784/0.3667, allocations: 366.8 kB / 1.356 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3668, allocations: 59.28 kB / 1.356 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.3673, allocations: 482 kB / 1.356 GB, free: 64 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3674, allocations: 29.7 kB / 1.356 GB, free: 28 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.3676, allocations: 260.5 kB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.3677, allocations: 103.1 kB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3678, allocations: 77.97 kB / 1.357 GB, free: 15.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3679, allocations: 362.7 kB / 1.357 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3681, allocations: 100.6 kB / 1.357 GB, free: 15.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.3683, allocations: 160.1 kB / 1.357 GB, free: 14.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3688, allocations: 290.7 kB / 1.358 GB, free: 14.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3688, allocations: 0 / 1.358 GB, free: 14.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005868/0.3694, allocations: 365.1 kB / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3694, allocations: 8 kB / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3694, allocations: 0 / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3694, allocations: 4 kB / 1.358 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3697, allocations: 83.77 kB / 1.358 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3697, allocations: 4 kB / 1.358 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.3699, allocations: 35.73 kB / 1.358 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.37, allocations: 20.2 kB / 1.358 GB, free: 14.12 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.0002061/0.3702, allocations: 179.5 kB / 1.358 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3703, allocations: 51.67 kB / 1.358 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.3711, allocations: 494.2 kB / 1.359 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.3711, allocations: 15.92 kB / 1.359 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3711, allocations: 0 / 1.359 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006142/0.3717, allocations: 0.5801 MB / 1.359 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.3735, allocations: 1.076 MB / 1.361 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3735, allocations: 4 kB / 1.361 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3737, allocations: 43.98 kB / 1.361 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3737, allocations: 0 / 1.361 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3738, allocations: 19.92 kB / 1.361 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3738, allocations: 0 / 1.361 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3738, allocations: 4 kB / 1.361 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.3747, allocations: 0.6762 MB / 1.361 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.3749, allocations: 99.58 kB / 1.361 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.375, allocations: 12 kB / 1.361 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3752, allocations: 11.98 kB / 1.361 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3753, allocations: 27.89 kB / 1.361 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3753, allocations: 23.92 kB / 1.361 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004065/0.3757, allocations: 342.9 kB / 1.362 GB, free: 10.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3757, allocations: 0 / 1.362 GB, free: 10.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000627/0.3763, allocations: 199.6 kB / 1.362 GB, free: 10.11 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.0005899/0.3769, allocations: 304 kB / 1.362 GB, free: 9.816 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.3774, allocations: 284.9 kB / 1.363 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3774, allocations: 0 / 1.363 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.3777, allocations: 151.8 kB / 1.363 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.3792, allocations: 329.5 kB / 1.363 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3808, allocations: 1.083 MB / 1.364 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.3813, allocations: 0.8627 MB / 1.365 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003247/0.3817, allocations: 116.7 kB / 1.365 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3818, allocations: 51.42 kB / 1.365 GB, free: 6.883 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3818, allocations: 0 / 1.365 GB, free: 6.883 MB / 1.061 GB Notification: Performance of Templates: time 0.02148/0.4032, allocations: 12.55 MB / 1.377 GB, free: 10.49 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.40889095608145]