Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00208/0.00208, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002318/0.002318, allocations: 189.5 kB / 22.23 MB, free: 5.098 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.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 63.91 kB / 1.061 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9636/0.9665, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02986/0.9964, allocations: 23.66 MB / 1.242 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008474/1.005, allocations: 5.12 MB / 1.247 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/1.006, allocations: 39.69 kB / 1.247 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009106/1.007, allocations: 290 kB / 1.247 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/1.009, allocations: 0.8358 MB / 1.248 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/1.011, allocations: 0.7995 MB / 1.248 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00225/1.013, allocations: 1.683 MB / 1.25 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006416/1.014, allocations: 386.2 kB / 1.25 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/1.016, allocations: 0.6413 MB / 1.251 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/1.016, allocations: 474 kB / 1.252 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/1.016, allocations: 48 kB / 1.252 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.018, allocations: 0.503 MB / 1.252 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/1.018, allocations: 151.4 kB / 1.252 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/1.018, allocations: 310.5 kB / 1.253 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/1.02, allocations: 0.9289 MB / 1.253 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.02, allocations: 0 / 1.253 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/1.02, allocations: 4 kB / 1.253 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.02, allocations: 0 / 1.253 GB, free: 3.258 MB / 0.9512 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.001451/1.021, allocations: 0.9029 MB / 1.254 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.021, allocations: 16.02 kB / 1.254 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/1.021, allocations: 64.56 kB / 1.254 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.022, allocations: 0.581 MB / 1.255 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/1.022, allocations: 32.94 kB / 1.255 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/1.023, allocations: 40 kB / 1.255 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/1.023, allocations: 440.7 kB / 1.255 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.023, allocations: 0 / 1.255 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/1.023, allocations: 16 kB / 1.255 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/1.023, allocations: 12 kB / 1.256 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/1.024, allocations: 307.7 kB / 1.256 GB, free: 0.7539 MB / 0.9512 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.003026/1.027, allocations: 1.919 MB / 1.258 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/1.027, allocations: 242.8 kB / 1.258 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/1.028, allocations: 112.8 kB / 1.258 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009561/1.029, allocations: 0.8545 MB / 1.259 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.029, allocations: 34.56 kB / 1.259 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/1.029, allocations: 0 / 1.259 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0007592/1.029, allocations: 371.1 kB / 1.259 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.029, allocations: 59.28 kB / 1.259 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/1.03, allocations: 486 kB / 1.26 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.03, allocations: 33.7 kB / 1.26 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/1.03, allocations: 260.4 kB / 1.26 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.031, allocations: 103.1 kB / 1.26 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.031, allocations: 77.97 kB / 1.26 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.031, allocations: 350.8 kB / 1.261 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.031, allocations: 104.5 kB / 1.261 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/1.031, allocations: 172 kB / 1.261 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/1.032, allocations: 282.7 kB / 1.261 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/1.032, allocations: 0 / 1.261 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006127/1.032, allocations: 361.1 kB / 1.261 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.032, allocations: 8 kB / 1.261 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.032, allocations: 0 / 1.261 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.032, allocations: 7.984 kB / 1.261 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.033, allocations: 76.06 kB / 1.262 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.033, allocations: 7.984 kB / 1.262 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/1.033, allocations: 39.69 kB / 1.262 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/1.033, allocations: 19.98 kB / 1.262 GB, free: 10.4 MB / 0.9669 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.0002253/1.033, allocations: 177.7 kB / 1.262 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/1.033, allocations: 51.72 kB / 1.262 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/1.034, allocations: 477.1 kB / 1.262 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.034, allocations: 15.92 kB / 1.262 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.034, allocations: 0 / 1.262 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006909/1.035, allocations: 0.5741 MB / 1.263 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/1.037, allocations: 1.164 MB / 1.264 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.037, allocations: 4 kB / 1.264 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/1.037, allocations: 52.09 kB / 1.264 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.037, allocations: 8 kB / 1.264 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/1.037, allocations: 8 kB / 1.264 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.037, allocations: 4 kB / 1.264 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.037, allocations: 0 / 1.264 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009858/1.038, allocations: 0.6913 MB / 1.265 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/1.038, allocations: 176.6 kB / 1.265 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/1.038, allocations: 8 kB / 1.265 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/1.039, allocations: 8 kB / 1.265 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/1.039, allocations: 27.89 kB / 1.265 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/1.039, allocations: 23.92 kB / 1.265 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004493/1.039, allocations: 350.9 kB / 1.265 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/1.039, allocations: 0 / 1.265 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006695/1.04, allocations: 195.6 kB / 1.265 GB, free: 6.188 MB / 0.9669 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.0006816/1.04, allocations: 307.4 kB / 1.266 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005252/1.041, allocations: 280.8 kB / 1.266 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.041, allocations: 0 / 1.266 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/1.041, allocations: 158.7 kB / 1.266 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/1.043, allocations: 342 kB / 1.267 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.045, allocations: 1.08 MB / 1.268 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/1.045, allocations: 0.8627 MB / 1.268 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003651/1.046, allocations: 128.6 kB / 1.269 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.046, allocations: 51.42 kB / 1.269 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/1.046, allocations: 4 kB / 1.269 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.02546/1.071, allocations: 12.55 MB / 1.281 GB, free: 6.57 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.527955465950072]