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.0007811/0.0007811, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007725/0.0007725, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8717/0.8717, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.9 MB / 0.6229 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.668e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0157/0.01573, allocations: 21.48 MB / 1.003 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00521/0.02094, allocations: 4.761 MB / 1.008 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.02141, allocations: 35.69 kB / 1.008 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.02204, allocations: 285.9 kB / 1.008 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.02329, allocations: 0.8506 MB / 1.009 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.02437, allocations: 0.82 MB / 1.01 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.02563, allocations: 1.65 MB / 1.011 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.02607, allocations: 394.1 kB / 1.012 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.02734, allocations: 0.9373 MB / 1.013 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.02772, allocations: 402.7 kB / 1.013 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.02778, allocations: 48 kB / 1.013 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.02826, allocations: 411.1 kB / 1.014 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.02838, allocations: 159.3 kB / 1.014 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.02853, allocations: 215.5 kB / 1.014 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.02943, allocations: 0.9503 MB / 1.015 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.02943, allocations: 0 / 1.015 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.02943, allocations: 0 / 1.015 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.02944, allocations: 0 / 1.015 GB, free: 0.6172 MB / 0.9636 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.0009674/0.03041, allocations: 0.8315 MB / 1.016 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.03044, allocations: 8.031 kB / 1.016 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.03061, allocations: 68.56 kB / 1.016 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.03135, allocations: 0.5146 MB / 1.016 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.03138, allocations: 29.38 kB / 1.016 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.03143, allocations: 40.38 kB / 1.016 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.03195, allocations: 0.5056 MB / 1.017 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.03197, allocations: 0 / 1.017 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.032, allocations: 16 kB / 1.017 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.03202, allocations: 12 kB / 1.017 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.03239, allocations: 303.8 kB / 1.017 GB, free: 14.21 MB / 0.9792 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.001581/0.03397, allocations: 1.443 MB / 1.018 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.03437, allocations: 234.8 kB / 1.019 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.03448, allocations: 116.8 kB / 1.019 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.03472, allocations: 103.9 kB / 1.019 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.03474, allocations: 38.5 kB / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.03474, allocations: 0 / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=26): time 0.0004811/0.03523, allocations: 363.4 kB / 1.019 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.03526, allocations: 59.39 kB / 1.019 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.03556, allocations: 393.9 kB / 1.02 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.03558, allocations: 37.7 kB / 1.02 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.03573, allocations: 284.4 kB / 1.02 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.03579, allocations: 95.17 kB / 1.02 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.03586, allocations: 70.02 kB / 1.02 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.03596, allocations: 354.7 kB / 1.021 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.03607, allocations: 100.5 kB / 1.021 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.03624, allocations: 253.1 kB / 1.021 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.03651, allocations: 282.7 kB / 1.021 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03651, allocations: 0 / 1.021 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003654/0.03688, allocations: 357.1 kB / 1.021 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.03689, allocations: 4 kB / 1.021 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.0369, allocations: 4 kB / 1.021 GB, free: 9.492 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.03691, allocations: 4.219 kB / 1.021 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.03706, allocations: 79.89 kB / 1.022 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.03707, allocations: 7.938 kB / 1.022 GB, free: 9.402 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.03719, allocations: 31.78 kB / 1.022 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.03721, allocations: 19.98 kB / 1.022 GB, free: 9.352 MB / 0.9792 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.0001345/0.03734, allocations: 178 kB / 1.022 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.03739, allocations: 43.72 kB / 1.022 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.03792, allocations: 478.3 kB / 1.022 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.03793, allocations: 8 kB / 1.022 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.03793, allocations: 3.984 kB / 1.022 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003828/0.03832, allocations: 0.5801 MB / 1.023 GB, free: 7.988 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.03934, allocations: 0.9514 MB / 1.024 GB, free: 6.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.03934, allocations: 4 kB / 1.024 GB, free: 6.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.03946, allocations: 47.92 kB / 1.024 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.03947, allocations: 4 kB / 1.024 GB, free: 6.926 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.03948, allocations: 15.92 kB / 1.024 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.03949, allocations: 4 kB / 1.024 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.03949, allocations: 7.984 kB / 1.024 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.04006, allocations: 0.6683 MB / 1.025 GB, free: 6.195 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.04016, allocations: 91.48 kB / 1.025 GB, free: 6.105 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.04019, allocations: 16.06 kB / 1.025 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.04031, allocations: 8 kB / 1.025 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.04034, allocations: 27.89 kB / 1.025 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.04036, allocations: 19.98 kB / 1.025 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001947/0.04056, allocations: 275.2 kB / 1.025 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.04056, allocations: 7.938 kB / 1.025 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000371/0.04093, allocations: 207.5 kB / 1.025 GB, free: 5.555 MB / 0.9792 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.0003491/0.04128, allocations: 274.7 kB / 1.025 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.04161, allocations: 283.7 kB / 1.026 GB, free: 5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.04162, allocations: 0 / 1.026 GB, free: 5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.04176, allocations: 151.8 kB / 1.026 GB, free: 4.852 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.04243, allocations: 262.2 kB / 1.026 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.04351, allocations: 1.01 MB / 1.027 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.04368, allocations: 266.2 kB / 1.027 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.04376, allocations: 52.48 kB / 1.027 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.04376, allocations: 0 / 1.027 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of Templates: time 0.008344/0.05211, allocations: 9.253 MB / 1.036 GB, free: 10.04 MB / 0.9948 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 -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: 8.554424670524895]