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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001999/0.001999, allocations: 63.91 kB / 1.136 GB, free: 12.42 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.247, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02043/1.267, allocations: 23.66 MB / 1.329 GB, free: 16.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007157/1.274, allocations: 5.143 MB / 1.334 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/1.275, allocations: 31.19 kB / 1.334 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000845/1.276, allocations: 285.8 kB / 1.334 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/1.278, allocations: 0.8238 MB / 1.335 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/1.28, allocations: 0.7728 MB / 1.335 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0026/1.283, allocations: 1.627 MB / 1.337 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/1.284, allocations: 390.4 kB / 1.337 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/1.286, allocations: 0.7194 MB / 1.338 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/1.286, allocations: 474.3 kB / 1.339 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.449e-05/1.286, allocations: 47.19 kB / 1.339 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.288, allocations: 0.492 MB / 1.339 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/1.288, allocations: 146.3 kB / 1.339 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/1.288, allocations: 311.2 kB / 1.34 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/1.29, allocations: 0.9284 MB / 1.34 GB, free: 9.625 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.29, allocations: 0.625 kB / 1.34 GB, free: 9.625 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/1.29, allocations: 0 / 1.34 GB, free: 9.625 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.29, allocations: 0.5312 kB / 1.34 GB, free: 9.625 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.001707/1.292, allocations: 0.9071 MB / 1.341 GB, free: 8.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.292, allocations: 9.469 kB / 1.341 GB, free: 8.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/1.293, allocations: 68.06 kB / 1.341 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/1.294, allocations: 0.5772 MB / 1.342 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.294, allocations: 33.25 kB / 1.342 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/1.294, allocations: 38.52 kB / 1.342 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/1.295, allocations: 435 kB / 1.342 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.295, allocations: 1.719 kB / 1.342 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/1.295, allocations: 20.2 kB / 1.342 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.295, allocations: 9.984 kB / 1.342 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/1.295, allocations: 303.6 kB / 1.343 GB, free: 8.16 MB / 1.061 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.003259/1.299, allocations: 1.924 MB / 1.345 GB, free: 6.785 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/1.299, allocations: 243.3 kB / 1.345 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.3, allocations: 112.4 kB / 1.345 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/1.3, allocations: 0.851 MB / 1.346 GB, free: 5.688 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.3, allocations: 37.36 kB / 1.346 GB, free: 5.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/1.3, allocations: 0 / 1.346 GB, free: 5.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.000809/1.301, allocations: 369.9 kB / 1.346 GB, free: 5.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/1.301, allocations: 62.81 kB / 1.346 GB, free: 5.422 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/1.302, allocations: 480.6 kB / 1.347 GB, free: 5.191 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.302, allocations: 31.05 kB / 1.347 GB, free: 5.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.302, allocations: 256.9 kB / 1.347 GB, free: 4.949 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/1.302, allocations: 110.1 kB / 1.347 GB, free: 4.859 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.302, allocations: 76.11 kB / 1.347 GB, free: 4.816 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.302, allocations: 356.6 kB / 1.347 GB, free: 4.484 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/1.303, allocations: 97.31 kB / 1.348 GB, free: 4.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/1.303, allocations: 173.4 kB / 1.348 GB, free: 4.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/1.303, allocations: 275.8 kB / 1.348 GB, free: 4.184 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.303, allocations: 5.375 kB / 1.348 GB, free: 4.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007532/1.304, allocations: 373.1 kB / 1.348 GB, free: 4.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.304, allocations: 7.047 kB / 1.348 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.304, allocations: 1.562 kB / 1.348 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.304, allocations: 2.75 kB / 1.348 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/1.305, allocations: 75.19 kB / 1.348 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.305, allocations: 3.781 kB / 1.348 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/1.305, allocations: 43.5 kB / 1.349 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/1.305, allocations: 13.98 kB / 1.349 GB, free: 3.973 MB / 1.061 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.0002063/1.305, allocations: 182.7 kB / 1.349 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.305, allocations: 52.97 kB / 1.349 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009125/1.306, allocations: 467.7 kB / 1.349 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.306, allocations: 13.83 kB / 1.349 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.306, allocations: 0 / 1.349 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006051/1.307, allocations: 0.562 MB / 1.35 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/1.309, allocations: 1.162 MB / 1.351 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.309, allocations: 2.406 kB / 1.351 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/1.309, allocations: 49.53 kB / 1.351 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.309, allocations: 3.25 kB / 1.351 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/1.309, allocations: 11.84 kB / 1.351 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.309, allocations: 5.906 kB / 1.351 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-06/1.309, allocations: 3.047 kB / 1.351 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/1.31, allocations: 0.6735 MB / 1.352 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/1.31, allocations: 180.2 kB / 1.352 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/1.31, allocations: 8.234 kB / 1.352 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.311, allocations: 9.75 kB / 1.352 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/1.311, allocations: 27.59 kB / 1.352 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/1.311, allocations: 22.48 kB / 1.352 GB, free: 1.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004436/1.311, allocations: 350.2 kB / 1.352 GB, free: 1.676 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.311, allocations: 0 / 1.352 GB, free: 1.676 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001045/1.312, allocations: 202.4 kB / 1.352 GB, free: 1.629 MB / 1.061 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.0008255/1.313, allocations: 300.1 kB / 1.353 GB, free: 1.469 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005925/1.314, allocations: 274.2 kB / 1.353 GB, free: 1.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.314, allocations: 0.9375 kB / 1.353 GB, free: 1.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/1.314, allocations: 160.3 kB / 1.353 GB, free: 1.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.316, allocations: 337 kB / 1.353 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/1.317, allocations: 1.078 MB / 1.354 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.318, allocations: 0.8667 MB / 1.355 GB, free: 15.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004022/1.318, allocations: 122.1 kB / 1.355 GB, free: 15.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.318, allocations: 51.61 kB / 1.355 GB, free: 15.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/1.318, allocations: 1.062 kB / 1.355 GB, free: 15.79 MB / 1.076 GB Notification: Performance of Templates: time 0.02963/1.348, allocations: 12.44 MB / 1.368 GB, free: 14.67 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] 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: 10.434222924523056]