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.001548/0.001548, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001696/0.001696, allocations: 205 kB / 20.09 MB, free: 2.977 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.841/2.841, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.001981/0.001981, allocations: 63.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.8845, allocations: 176.1 MB / 1.322 GB, free: 25.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02025/0.9047, allocations: 23.61 MB / 1.345 GB, free: 8.234 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.9115, allocations: 5.088 MB / 1.35 GB, free: 4.625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.9125, allocations: 36.75 kB / 1.35 GB, free: 4.605 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.9134, allocations: 295.7 kB / 1.35 GB, free: 4.426 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.9155, allocations: 0.822 MB / 1.351 GB, free: 3.941 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.9175, allocations: 0.7708 MB / 1.352 GB, free: 3.535 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.9197, allocations: 1.614 MB / 1.353 GB, free: 2.781 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.9204, allocations: 417.1 kB / 1.354 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.9223, allocations: 0.7333 MB / 1.355 GB, free: 2.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.9229, allocations: 472.6 kB / 1.355 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.923, allocations: 46.25 kB / 1.355 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.9241, allocations: 0.5027 MB / 1.356 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.9243, allocations: 145.8 kB / 1.356 GB, free: 1.773 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.9246, allocations: 307.4 kB / 1.356 GB, free: 1.598 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.926, allocations: 0.9515 MB / 1.357 GB, free: 1.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.926, allocations: 4 kB / 1.357 GB, free: 1.246 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.926, allocations: 0 / 1.357 GB, free: 1.246 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.926, allocations: 0 / 1.357 GB, free: 1.246 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.001231/0.9272, allocations: 0.9104 MB / 1.358 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9273, allocations: 13.36 kB / 1.358 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.9275, allocations: 68.94 kB / 1.358 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009222/0.9284, allocations: 0.5807 MB / 1.358 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.9284, allocations: 37.19 kB / 1.358 GB, free: 112 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.9285, allocations: 38.44 kB / 1.359 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.9293, allocations: 431.8 kB / 1.359 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.9293, allocations: 9 kB / 1.359 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.9293, allocations: 19.78 kB / 1.359 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.9294, allocations: 10.75 kB / 1.359 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.9299, allocations: 303.1 kB / 1.359 GB, free: 15.77 MB / 1.076 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.003005/0.9329, allocations: 1.921 MB / 1.361 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.9335, allocations: 239.5 kB / 1.361 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.9337, allocations: 115.5 kB / 1.361 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000975/0.9346, allocations: 0.8514 MB / 1.362 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.9347, allocations: 37.41 kB / 1.362 GB, free: 13.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.9347, allocations: 0 / 1.362 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=26): time 0.0007594/0.9354, allocations: 374.6 kB / 1.363 GB, free: 13.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9355, allocations: 59.34 kB / 1.363 GB, free: 13.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.9361, allocations: 480.7 kB / 1.363 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.9361, allocations: 31.17 kB / 1.363 GB, free: 12.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.9364, allocations: 264.4 kB / 1.363 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.9365, allocations: 102.8 kB / 1.364 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9366, allocations: 71.36 kB / 1.364 GB, free: 12.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.9368, allocations: 356.6 kB / 1.364 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.937, allocations: 97.38 kB / 1.364 GB, free: 12.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.9372, allocations: 174.4 kB / 1.364 GB, free: 11.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.9377, allocations: 283.6 kB / 1.365 GB, free: 11.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9377, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006312/0.9383, allocations: 366 kB / 1.365 GB, free: 11.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9383, allocations: 5.531 kB / 1.365 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.9383, allocations: 3.141 kB / 1.365 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9383, allocations: 3.125 kB / 1.365 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.9386, allocations: 74.78 kB / 1.365 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.9386, allocations: 8 kB / 1.365 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.939, allocations: 39.36 kB / 1.365 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.939, allocations: 13.86 kB / 1.365 GB, free: 11.59 MB / 1.076 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.000233/0.9392, allocations: 182.5 kB / 1.365 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.9393, allocations: 52.95 kB / 1.365 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/0.9402, allocations: 479.4 kB / 1.366 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.9402, allocations: 9.234 kB / 1.366 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9402, allocations: 3.938 kB / 1.366 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006827/0.9409, allocations: 0.5639 MB / 1.366 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.9429, allocations: 1.16 MB / 1.367 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9429, allocations: 2.219 kB / 1.367 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.9432, allocations: 50.12 kB / 1.367 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9432, allocations: 2.656 kB / 1.367 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.9432, allocations: 19.2 kB / 1.367 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9432, allocations: 3 kB / 1.367 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9432, allocations: 2.5 kB / 1.367 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.9442, allocations: 0.6725 MB / 1.368 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.9445, allocations: 170.8 kB / 1.368 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.9445, allocations: 9.188 kB / 1.368 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.9448, allocations: 10.59 kB / 1.368 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.9449, allocations: 23.86 kB / 1.368 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.9449, allocations: 21.56 kB / 1.368 GB, free: 9.445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004563/0.9454, allocations: 350.5 kB / 1.369 GB, free: 9.281 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9454, allocations: 0 / 1.369 GB, free: 9.281 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007808/0.9462, allocations: 211.2 kB / 1.369 GB, free: 9.227 MB / 1.076 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.0005549/0.9467, allocations: 267 kB / 1.369 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.9473, allocations: 284.4 kB / 1.369 GB, free: 8.992 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9473, allocations: 1.281 kB / 1.369 GB, free: 8.992 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.9475, allocations: 148.5 kB / 1.37 GB, free: 8.945 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.9491, allocations: 339.1 kB / 1.37 GB, free: 8.848 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.951, allocations: 1.109 MB / 1.371 GB, free: 8.125 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.9516, allocations: 0.8603 MB / 1.372 GB, free: 7.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.9517, allocations: 61.41 kB / 1.372 GB, free: 7.398 MB / 1.076 GB Notification: Performance of SimCode: time 7.71e-07/0.9517, allocations: 0 / 1.372 GB, free: 7.398 MB / 1.076 GB Notification: Performance of Templates: time 0.01805/0.9698, allocations: 9.917 MB / 1.382 GB, free: 6.168 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/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: 13.053154262990574]