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.0009403/0.0009403, allocations: 76.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.0008842/0.0008842, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9315/0.9315, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.795/1.795, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.308e-05, allocations: 5.234 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01741/0.01744, allocations: 21.47 MB / 1.022 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005129/0.02257, allocations: 4.741 MB / 1.027 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.02306, allocations: 39.69 kB / 1.027 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.0237, allocations: 281.9 kB / 1.027 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.02519, allocations: 0.8467 MB / 1.028 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.02664, allocations: 0.8143 MB / 1.028 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.02817, allocations: 1.624 MB / 1.03 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.02868, allocations: 373.4 kB / 1.03 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.03015, allocations: 0.9253 MB / 1.031 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.03063, allocations: 390.8 kB / 1.032 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.03068, allocations: 48 kB / 1.032 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006152/0.0313, allocations: 418.9 kB / 1.032 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.03141, allocations: 151.4 kB / 1.032 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.03157, allocations: 223.4 kB / 1.032 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.03248, allocations: 0.9426 MB / 1.033 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03248, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.03248, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.03249, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.9948 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.0009544/0.03344, allocations: 0.812 MB / 1.034 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.03348, allocations: 12.75 kB / 1.034 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.03364, allocations: 68.5 kB / 1.034 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.03437, allocations: 0.5107 MB / 1.035 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.0344, allocations: 29.38 kB / 1.035 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.03445, allocations: 44.31 kB / 1.035 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.03495, allocations: 0.5017 MB / 1.035 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.03497, allocations: 0 / 1.035 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.035, allocations: 19.98 kB / 1.035 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.03502, allocations: 12 kB / 1.035 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.03538, allocations: 303.7 kB / 1.036 GB, free: 9.199 MB / 0.9948 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.001567/0.03694, allocations: 1.448 MB / 1.037 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.03734, allocations: 248.2 kB / 1.037 GB, free: 7.453 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.03745, allocations: 112.8 kB / 1.037 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.03769, allocations: 103.9 kB / 1.037 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.03771, allocations: 38.56 kB / 1.038 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.03771, allocations: 0 / 1.038 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.0004764/0.03819, allocations: 365.2 kB / 1.038 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.03822, allocations: 51.41 kB / 1.038 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.0386, allocations: 397.9 kB / 1.038 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.03862, allocations: 33.7 kB / 1.038 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.03875, allocations: 272.5 kB / 1.039 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.0388, allocations: 99.06 kB / 1.039 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.03887, allocations: 73.97 kB / 1.039 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.03897, allocations: 354.7 kB / 1.039 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.03908, allocations: 96.59 kB / 1.039 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.03926, allocations: 249.2 kB / 1.039 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.03952, allocations: 290.7 kB / 1.04 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.03952, allocations: 0 / 1.04 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003569/0.03988, allocations: 354.7 kB / 1.04 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.03989, allocations: 4 kB / 1.04 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.0399, allocations: 0 / 1.04 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.03991, allocations: 4 kB / 1.04 GB, free: 4.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.04006, allocations: 79.78 kB / 1.04 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.04007, allocations: 4 kB / 1.04 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.04022, allocations: 31.78 kB / 1.04 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.04024, allocations: 16 kB / 1.04 GB, free: 4.348 MB / 0.9948 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.0001343/0.04038, allocations: 181.9 kB / 1.04 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.04043, allocations: 51.78 kB / 1.04 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.04093, allocations: 472.7 kB / 1.041 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.04094, allocations: 7.984 kB / 1.041 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.04094, allocations: 0 / 1.041 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003885/0.04133, allocations: 0.5764 MB / 1.041 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.04244, allocations: 0.9593 MB / 1.042 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.04245, allocations: 0 / 1.042 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.04256, allocations: 47.98 kB / 1.042 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.04257, allocations: 7.984 kB / 1.042 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.04259, allocations: 11.94 kB / 1.042 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.04259, allocations: 7.938 kB / 1.042 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.04259, allocations: 192 / 1.042 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.04316, allocations: 0.6698 MB / 1.043 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.04326, allocations: 83.64 kB / 1.043 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.0433, allocations: 11.94 kB / 1.043 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.04342, allocations: 16 kB / 1.043 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.04345, allocations: 23.95 kB / 1.043 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.04347, allocations: 19.98 kB / 1.043 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001895/0.04366, allocations: 271.2 kB / 1.043 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.04366, allocations: 4 kB / 1.043 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003844/0.04404, allocations: 207.5 kB / 1.044 GB, free: 0.5742 MB / 0.9948 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.0003584/0.0444, allocations: 286.7 kB / 1.044 GB, free: 288 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.04473, allocations: 284.3 kB / 1.044 GB, free: 4 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.04473, allocations: 0 / 1.044 GB, free: 4 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.04489, allocations: 153.7 kB / 1.044 GB, free: 15.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.04554, allocations: 248.7 kB / 1.045 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.04661, allocations: 0.9955 MB / 1.046 GB, free: 14.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.04678, allocations: 266.2 kB / 1.046 GB, free: 14.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.04687, allocations: 52.48 kB / 1.046 GB, free: 14.24 MB / 1.01 GB Notification: Performance of SimCode: time 6.62e-07/0.04687, allocations: 0 / 1.046 GB, free: 14.24 MB / 1.01 GB Notification: Performance of Templates: time 0.009061/0.05593, allocations: 9.166 MB / 1.055 GB, free: 5.145 MB / 1.01 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.441279476508498]