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.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.001268/0.001268, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001382/0.001382, allocations: 199.6 kB / 22.17 MB, free: 5.207 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.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.003197/0.003197, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9983, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03285/1.031, allocations: 23.63 MB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.041, allocations: 5.136 MB / 1.302 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.043, allocations: 23.88 kB / 1.302 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/1.044, allocations: 290 kB / 1.302 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/1.047, allocations: 0.828 MB / 1.303 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/1.049, allocations: 0.7705 MB / 1.304 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002799/1.052, allocations: 1.626 MB / 1.306 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009291/1.053, allocations: 393.6 kB / 1.306 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/1.055, allocations: 0.6295 MB / 1.307 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/1.056, allocations: 481.9 kB / 1.307 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/1.056, allocations: 51.94 kB / 1.307 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/1.058, allocations: 499 kB / 1.308 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/1.058, allocations: 147.4 kB / 1.308 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006341/1.059, allocations: 306.5 kB / 1.308 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/1.061, allocations: 0.9292 MB / 1.309 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.061, allocations: 0 / 1.309 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/1.061, allocations: 0 / 1.309 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.061, allocations: 0 / 1.309 GB, free: 0.6992 MB / 0.9981 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.001697/1.063, allocations: 0.9068 MB / 1.31 GB, free: 15.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.063, allocations: 12.03 kB / 1.31 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/1.063, allocations: 68.56 kB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/1.064, allocations: 0.5732 MB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/1.064, allocations: 32.94 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/1.064, allocations: 43.94 kB / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/1.065, allocations: 440.7 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/1.065, allocations: 7.891 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/1.065, allocations: 16 kB / 1.311 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/1.065, allocations: 12 kB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/1.066, allocations: 307.8 kB / 1.311 GB, free: 14.19 MB / 1.014 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.003756/1.07, allocations: 1.908 MB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/1.07, allocations: 248.5 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/1.07, allocations: 116.8 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.072, allocations: 0.8428 MB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.072, allocations: 34.56 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 3.747e-06/1.072, allocations: 0 / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0009309/1.073, allocations: 375.8 kB / 1.315 GB, free: 10.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.073, allocations: 67.28 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/1.073, allocations: 478 kB / 1.315 GB, free: 9.789 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/1.073, allocations: 33.7 kB / 1.315 GB, free: 9.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/1.074, allocations: 260.4 kB / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.074, allocations: 103.1 kB / 1.316 GB, free: 9.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.074, allocations: 69.97 kB / 1.316 GB, free: 9.316 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002945/1.074, allocations: 358.8 kB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.074, allocations: 92.61 kB / 1.316 GB, free: 8.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/1.075, allocations: 180 kB / 1.316 GB, free: 8.668 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/1.075, allocations: 290.6 kB / 1.317 GB, free: 8.359 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.075, allocations: 0 / 1.317 GB, free: 8.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007557/1.076, allocations: 369 kB / 1.317 GB, free: 7.992 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.076, allocations: 4.219 kB / 1.317 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.076, allocations: 8 kB / 1.317 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/1.076, allocations: 4 kB / 1.317 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/1.076, allocations: 75.84 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.076, allocations: 7.984 kB / 1.317 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.077, allocations: 31.73 kB / 1.317 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/1.077, allocations: 16 kB / 1.317 GB, free: 7.848 MB / 1.014 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.0003071/1.077, allocations: 177.8 kB / 1.317 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.077, allocations: 55.67 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/1.078, allocations: 469 kB / 1.318 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.078, allocations: 7.938 kB / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.078, allocations: 0 / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006777/1.079, allocations: 0.5741 MB / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/1.081, allocations: 1.156 MB / 1.319 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.081, allocations: 3.984 kB / 1.319 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/1.081, allocations: 51.92 kB / 1.319 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/1.081, allocations: 4 kB / 1.319 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/1.081, allocations: 11.98 kB / 1.319 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/1.081, allocations: 4 kB / 1.319 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.081, allocations: 0 / 1.319 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.082, allocations: 0.6756 MB / 1.32 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/1.083, allocations: 176.6 kB / 1.32 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/1.083, allocations: 12 kB / 1.32 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.083, allocations: 11.98 kB / 1.32 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/1.083, allocations: 31.91 kB / 1.32 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/1.083, allocations: 15.94 kB / 1.32 GB, free: 4.199 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004881/1.084, allocations: 346.8 kB / 1.321 GB, free: 3.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.084, allocations: 0 / 1.321 GB, free: 3.863 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007756/1.085, allocations: 199.6 kB / 1.321 GB, free: 3.668 MB / 1.014 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.0008715/1.085, allocations: 305 kB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006408/1.086, allocations: 276.7 kB / 1.321 GB, free: 3.102 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.086, allocations: 448 / 1.321 GB, free: 3.102 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/1.086, allocations: 155.8 kB / 1.322 GB, free: 2.949 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.088, allocations: 327.2 kB / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.09, allocations: 1.093 MB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/1.091, allocations: 0.8666 MB / 1.324 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004423/1.091, allocations: 120.7 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.091, allocations: 55.36 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/1.091, allocations: 0 / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of Templates: time 0.02553/1.117, allocations: 12.43 MB / 1.336 GB, free: 4.176 MB / 1.029 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.659737867768854]