Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002035/0.002035, allocations: 80.59 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.002342/0.002342, allocations: 165.5 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.676/2.676, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/3.946e-05, allocations: 6.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02801/0.02805, allocations: 21.45 MB / 0.9719 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008886/0.03694, allocations: 4.736 MB / 0.9766 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.03782, allocations: 43.62 kB / 0.9766 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.03877, allocations: 289.9 kB / 0.9769 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.04111, allocations: 0.8506 MB / 0.9777 GB, free: 68 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.04345, allocations: 0.8196 MB / 0.9785 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.04582, allocations: 1.647 MB / 0.9801 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.04652, allocations: 390 kB / 0.9805 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.04849, allocations: 0.8318 MB / 0.9813 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007038/0.04919, allocations: 398.8 kB / 0.9817 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.0493, allocations: 52 kB / 0.9817 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.05041, allocations: 426.8 kB / 0.9821 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.05061, allocations: 155.3 kB / 0.9823 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.05091, allocations: 207.5 kB / 0.9825 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.05246, allocations: 0.9503 MB / 0.9834 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.05246, allocations: 0 / 0.9834 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.05247, allocations: 4 kB / 0.9834 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.05248, allocations: 0 / 0.9834 GB, free: 10.21 MB / 0.8887 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.001617/0.05409, allocations: 0.8237 MB / 0.9842 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.05414, allocations: 15.97 kB / 0.9842 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.0544, allocations: 68.55 kB / 0.9843 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.0555, allocations: 0.5146 MB / 0.9848 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.05554, allocations: 37.31 kB / 0.9848 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.05562, allocations: 40.38 kB / 0.9849 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/0.05644, allocations: 0.5056 MB / 0.9854 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.05646, allocations: 4 kB / 0.9854 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.05651, allocations: 16 kB / 0.9854 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.05654, allocations: 8 kB / 0.9854 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.0571, allocations: 307.7 kB / 0.9857 GB, free: 7.789 MB / 0.8887 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.002674/0.05978, allocations: 1.435 MB / 0.9871 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.06039, allocations: 242.8 kB / 0.9873 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.06059, allocations: 112.8 kB / 0.9874 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.06112, allocations: 111.8 kB / 0.9875 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.06117, allocations: 38.56 kB / 0.9876 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.06117, allocations: 0 / 0.9876 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.0007636/0.06193, allocations: 364 kB / 0.9879 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.06198, allocations: 55.41 kB / 0.988 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.06251, allocations: 405.8 kB / 0.9884 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.06255, allocations: 37.62 kB / 0.9884 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.0628, allocations: 280.6 kB / 0.9887 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.0629, allocations: 95.17 kB / 0.9888 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.06303, allocations: 73.97 kB / 0.9888 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.06323, allocations: 350.7 kB / 0.9892 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.06341, allocations: 100.6 kB / 0.9893 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.06372, allocations: 249.2 kB / 0.9895 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.06418, allocations: 275.2 kB / 0.9898 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.06419, allocations: 4 kB / 0.9898 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006358/0.06482, allocations: 353.2 kB / 0.9901 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.06484, allocations: 8 kB / 0.9901 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.06485, allocations: 0 / 0.9901 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.06487, allocations: 7.938 kB / 0.9901 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.06518, allocations: 80.11 kB / 0.9902 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.0652, allocations: 4 kB / 0.9902 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.06545, allocations: 27.78 kB / 0.9902 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.06549, allocations: 19.98 kB / 0.9902 GB, free: 2.934 MB / 0.8887 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.0657, allocations: 177.7 kB / 0.9904 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.0658, allocations: 43.72 kB / 0.9905 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.06673, allocations: 478.3 kB / 0.9909 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.06675, allocations: 8 kB / 0.9909 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.06675, allocations: 0 / 0.9909 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/0.06746, allocations: 0.5801 MB / 0.9915 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.06931, allocations: 0.9484 MB / 0.9924 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.06931, allocations: 8.234 kB / 0.9924 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.06955, allocations: 63.83 kB / 0.9925 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.06956, allocations: 4 kB / 0.9925 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.06959, allocations: 15.92 kB / 0.9925 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.0696, allocations: 4 kB / 0.9925 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0696, allocations: 0 / 0.9925 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.07065, allocations: 0.6758 MB / 0.9932 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.07083, allocations: 83.64 kB / 0.9932 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.0709, allocations: 15.92 kB / 0.9933 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.07116, allocations: 12 kB / 0.9933 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.07122, allocations: 27.95 kB / 0.9933 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.07125, allocations: 19.98 kB / 0.9933 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000368/0.07162, allocations: 275.2 kB / 0.9936 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.07162, allocations: 0 / 0.9936 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007427/0.07236, allocations: 211.4 kB / 0.9938 GB, free: 15.14 MB / 0.9044 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.0006367/0.073, allocations: 274.7 kB / 0.994 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.07354, allocations: 287.6 kB / 0.9943 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.07355, allocations: 0 / 0.9943 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.07382, allocations: 155.8 kB / 0.9945 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.07518, allocations: 258.5 kB / 0.9947 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.07695, allocations: 0.9837 MB / 0.9957 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.07726, allocations: 270.2 kB / 0.9959 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.07758, allocations: 104.2 kB / 0.996 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.0777, allocations: 48.48 kB / 0.9961 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.0777, allocations: 0 / 0.9961 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.02156/0.09926, allocations: 10.76 MB / 1.007 GB, free: 2.227 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.356671657413244]