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.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.001397/0.001397, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001532/0.001532, allocations: 163.1 kB / 22.46 MB, free: 5.355 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.927/2.927, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.322e-06/1.322e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.733e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02842/0.02844, allocations: 21.47 MB / 1.021 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008309/0.03675, allocations: 4.721 MB / 1.026 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.03766, allocations: 43.62 kB / 1.026 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.03874, allocations: 282 kB / 1.026 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.04115, allocations: 0.8467 MB / 1.027 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.0433, allocations: 0.8068 MB / 1.028 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.04564, allocations: 1.628 MB / 1.029 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.04638, allocations: 373.4 kB / 1.03 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.04878, allocations: 0.9291 MB / 1.031 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.04958, allocations: 394.7 kB / 1.031 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.04971, allocations: 48 kB / 1.031 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.05069, allocations: 426.9 kB / 1.031 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.05087, allocations: 147.4 kB / 1.031 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.0512, allocations: 215.5 kB / 1.032 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.05265, allocations: 0.9503 MB / 1.033 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.05266, allocations: 3.984 kB / 1.033 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.62e-07/0.05266, allocations: 0 / 1.033 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.05266, allocations: 0 / 1.033 GB, free: 5.91 MB / 0.9825 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.00135/0.05401, allocations: 0.812 MB / 1.033 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.05405, allocations: 16.03 kB / 1.033 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.05428, allocations: 64.56 kB / 1.033 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.05529, allocations: 0.5107 MB / 1.034 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.05533, allocations: 29.38 kB / 1.034 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.05541, allocations: 40.38 kB / 1.034 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.0562, allocations: 0.5056 MB / 1.035 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.05621, allocations: 4 kB / 1.035 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.05626, allocations: 16 kB / 1.035 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.05628, allocations: 8 kB / 1.035 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.05685, allocations: 307.8 kB / 1.035 GB, free: 3.508 MB / 0.9825 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.002507/0.05936, allocations: 1.439 MB / 1.036 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.05991, allocations: 246.6 kB / 1.037 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.0601, allocations: 116.8 kB / 1.037 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.06063, allocations: 111.8 kB / 1.037 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.06066, allocations: 34.56 kB / 1.037 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.06066, allocations: 3.938 kB / 1.037 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.0007321/0.0614, allocations: 361.2 kB / 1.037 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.06143, allocations: 55.39 kB / 1.037 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.06192, allocations: 393.9 kB / 1.038 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.06196, allocations: 33.7 kB / 1.038 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.06217, allocations: 272.5 kB / 1.038 GB, free: 376 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.06226, allocations: 107.2 kB / 1.038 GB, free: 268 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.06238, allocations: 69.97 kB / 1.038 GB, free: 192 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.06256, allocations: 362.7 kB / 1.038 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.06275, allocations: 92.61 kB / 1.038 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.06304, allocations: 253.1 kB / 1.039 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.06348, allocations: 278.7 kB / 1.039 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.06348, allocations: 0 / 1.039 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006135/0.06409, allocations: 357.1 kB / 1.039 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.06411, allocations: 9.875 kB / 1.039 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.06412, allocations: 0 / 1.039 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.06413, allocations: 4 kB / 1.039 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.06443, allocations: 75.83 kB / 1.039 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.06444, allocations: 4 kB / 1.039 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.06468, allocations: 32.02 kB / 1.039 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.06472, allocations: 23.92 kB / 1.039 GB, free: 14.65 MB / 0.9981 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.0002174/0.06494, allocations: 182.8 kB / 1.04 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.06504, allocations: 47.77 kB / 1.04 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/0.06592, allocations: 472.8 kB / 1.04 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.06593, allocations: 4 kB / 1.04 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.06593, allocations: 4 kB / 1.04 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006628/0.0666, allocations: 0.5741 MB / 1.041 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.06839, allocations: 0.9593 MB / 1.042 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.06839, allocations: 0 / 1.042 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.06863, allocations: 51.91 kB / 1.042 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.06864, allocations: 8.188 kB / 1.042 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.06867, allocations: 11.94 kB / 1.042 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.06867, allocations: 4 kB / 1.042 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.06868, allocations: 7.922 kB / 1.042 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.06963, allocations: 0.6611 MB / 1.042 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.0698, allocations: 87.64 kB / 1.042 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.06986, allocations: 11.94 kB / 1.042 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.07012, allocations: 15.97 kB / 1.042 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.07018, allocations: 32.03 kB / 1.042 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.07021, allocations: 15.98 kB / 1.042 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003302/0.07054, allocations: 279.1 kB / 1.043 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.07054, allocations: 4 kB / 1.043 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006498/0.07119, allocations: 211.4 kB / 1.043 GB, free: 10.86 MB / 0.9981 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.0005349/0.07173, allocations: 270.7 kB / 1.043 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.07225, allocations: 284 kB / 1.043 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.07225, allocations: 0 / 1.043 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.0725, allocations: 159.9 kB / 1.044 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.07377, allocations: 247 kB / 1.044 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.07539, allocations: 0.9673 MB / 1.045 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.07568, allocations: 258.2 kB / 1.045 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.07601, allocations: 100.3 kB / 1.045 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.07614, allocations: 56.47 kB / 1.045 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.07614, allocations: 4 kB / 1.045 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.01961/0.09575, allocations: 10.56 MB / 1.056 GB, free: 14.12 MB / 1.014 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.571207366883755]