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.001269/0.001269, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001409/0.001409, allocations: 208.8 kB / 22.99 MB, free: 4.984 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002002/0.002002, allocations: 70.16 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02569/0.3415, allocations: 21.66 MB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008029/0.3496, allocations: 4.734 MB / 1.353 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.3503, allocations: 35.69 kB / 1.353 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.3512, allocations: 286.1 kB / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.3533, allocations: 0.8332 MB / 1.354 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.3554, allocations: 0.7935 MB / 1.355 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.3583, allocations: 1.652 MB / 1.356 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.3591, allocations: 394.1 kB / 1.357 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.3615, allocations: 0.7435 MB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.3625, allocations: 477.9 kB / 1.358 GB, free: 1.301 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.842e-05/0.3626, allocations: 44 kB / 1.358 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.3637, allocations: 415.2 kB / 1.358 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3638, allocations: 143.4 kB / 1.358 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3641, allocations: 258.9 kB / 1.359 GB, free: 468 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3656, allocations: 0.9343 MB / 1.36 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3656, allocations: 4 kB / 1.36 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3656, allocations: 0 / 1.36 GB, free: 15.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3656, allocations: 0 / 1.36 GB, free: 15.51 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.00143/0.367, allocations: 0.8353 MB / 1.36 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.367, allocations: 12.03 kB / 1.36 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.3673, allocations: 68.55 kB / 1.361 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3684, allocations: 0.5076 MB / 1.361 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.3684, allocations: 32.94 kB / 1.361 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.3685, allocations: 40 kB / 1.361 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.3693, allocations: 0.5017 MB / 1.362 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3693, allocations: 4 kB / 1.362 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.3693, allocations: 16 kB / 1.362 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.3693, allocations: 11.98 kB / 1.362 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.3699, allocations: 303.8 kB / 1.362 GB, free: 13.09 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.00258/0.3724, allocations: 1.455 MB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.373, allocations: 242.8 kB / 1.364 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3732, allocations: 122.5 kB / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.3737, allocations: 99.89 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3737, allocations: 34.56 kB / 1.364 GB, free: 11.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.3737, allocations: 4 kB / 1.364 GB, free: 11.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0007217/0.3745, allocations: 359.6 kB / 1.364 GB, free: 10.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3745, allocations: 55.41 kB / 1.364 GB, free: 10.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.3751, allocations: 409.8 kB / 1.365 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.3751, allocations: 29.7 kB / 1.365 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.3754, allocations: 272.5 kB / 1.365 GB, free: 9.938 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.3755, allocations: 99.11 kB / 1.365 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3756, allocations: 77.91 kB / 1.365 GB, free: 9.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3758, allocations: 346.8 kB / 1.365 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.3759, allocations: 100.6 kB / 1.365 GB, free: 9.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.3762, allocations: 253.2 kB / 1.366 GB, free: 9.023 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.3767, allocations: 282.7 kB / 1.366 GB, free: 8.723 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3767, allocations: 0 / 1.366 GB, free: 8.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006041/0.3773, allocations: 357.2 kB / 1.366 GB, free: 8.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3773, allocations: 8 kB / 1.366 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3773, allocations: 0 / 1.366 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3773, allocations: 4 kB / 1.366 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3776, allocations: 79.83 kB / 1.366 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3776, allocations: 7.938 kB / 1.366 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.3779, allocations: 27.78 kB / 1.366 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3779, allocations: 19.98 kB / 1.366 GB, free: 8.223 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.0002156/0.3781, allocations: 178.5 kB / 1.367 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.3782, allocations: 47.72 kB / 1.367 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.3791, allocations: 481 kB / 1.367 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3791, allocations: 4 kB / 1.367 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3791, allocations: 11.92 kB / 1.367 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006214/0.3797, allocations: 0.5725 MB / 1.368 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3815, allocations: 0.9516 MB / 1.369 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3815, allocations: 3.938 kB / 1.369 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3817, allocations: 43.98 kB / 1.369 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3817, allocations: 12.12 kB / 1.369 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.3818, allocations: 11.98 kB / 1.369 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3818, allocations: 4 kB / 1.369 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3818, allocations: 48 / 1.369 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.3827, allocations: 0.6871 MB / 1.369 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.3829, allocations: 91.53 kB / 1.369 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.383, allocations: 8 kB / 1.37 GB, free: 4.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.3833, allocations: 8 kB / 1.37 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3833, allocations: 23.95 kB / 1.37 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.3833, allocations: 23.98 kB / 1.37 GB, free: 4.902 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003486/0.3837, allocations: 275.2 kB / 1.37 GB, free: 4.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3837, allocations: 0 / 1.37 GB, free: 4.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000684/0.3844, allocations: 211.4 kB / 1.37 GB, free: 4.43 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.0005/0.3849, allocations: 282.6 kB / 1.37 GB, free: 4.145 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.3854, allocations: 288.9 kB / 1.371 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3854, allocations: 0 / 1.371 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3856, allocations: 155.8 kB / 1.371 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3869, allocations: 264.7 kB / 1.371 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3886, allocations: 1.064 MB / 1.372 GB, free: 2.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3889, allocations: 262.2 kB / 1.372 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003282/0.3892, allocations: 112.2 kB / 1.372 GB, free: 1.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3893, allocations: 47.42 kB / 1.372 GB, free: 1.91 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3893, allocations: 0 / 1.372 GB, free: 1.91 MB / 1.061 GB Notification: Performance of Templates: time 0.02038/0.4097, allocations: 11.7 MB / 1.384 GB, free: 6.461 MB / 1.076 GB " [Timeout remaining time 300] 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 -s gbode -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/jenkins1/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.013476323001669]