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.001546/0.001546, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001716/0.001716, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.829/2.829, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002043/0.002043, allocations: 71.88 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8216, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02679/0.8484, allocations: 23.63 MB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008594/0.857, allocations: 5.127 MB / 1.302 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009947/0.858, allocations: 31.81 kB / 1.302 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.859, allocations: 290 kB / 1.302 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.8613, allocations: 0.8241 MB / 1.303 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.8635, allocations: 0.7797 MB / 1.304 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.866, allocations: 1.628 MB / 1.306 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.8667, allocations: 389.6 kB / 1.306 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.8686, allocations: 0.6325 MB / 1.307 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000787/0.8694, allocations: 473.9 kB / 1.307 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.8694, allocations: 48 kB / 1.307 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.8706, allocations: 0.4913 MB / 1.308 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.8708, allocations: 143.4 kB / 1.308 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.8712, allocations: 314.5 kB / 1.308 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.8726, allocations: 0.9252 MB / 1.309 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8726, allocations: 4 kB / 1.309 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8726, allocations: 4 kB / 1.309 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.8726, allocations: 0 / 1.309 GB, free: 0.7148 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.001494/0.8741, allocations: 0.9029 MB / 1.31 GB, free: 15.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8742, allocations: 8.031 kB / 1.31 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.8744, allocations: 72.55 kB / 1.31 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.8755, allocations: 0.5732 MB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.8756, allocations: 32.94 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.8756, allocations: 39.98 kB / 1.311 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.8764, allocations: 440.7 kB / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8764, allocations: 7.953 kB / 1.311 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.8764, allocations: 16 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.8765, allocations: 12 kB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.877, allocations: 303.8 kB / 1.311 GB, free: 14.22 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.002872/0.8799, allocations: 1.916 MB / 1.313 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.8804, allocations: 238.8 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.8806, allocations: 116.7 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009488/0.8816, allocations: 0.8545 MB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.8816, allocations: 34.56 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.8816, allocations: 0 / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007735/0.8824, allocations: 371.5 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8824, allocations: 59.34 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.8831, allocations: 482 kB / 1.315 GB, free: 9.812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.8831, allocations: 33.7 kB / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.8833, allocations: 260.5 kB / 1.315 GB, free: 9.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/0.8834, allocations: 107.1 kB / 1.316 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.8835, allocations: 69.98 kB / 1.316 GB, free: 9.336 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.8837, allocations: 358.8 kB / 1.316 GB, free: 8.977 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.8839, allocations: 100.6 kB / 1.316 GB, free: 8.879 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.8841, allocations: 168 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.8846, allocations: 294.5 kB / 1.317 GB, free: 8.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8846, allocations: 4 kB / 1.317 GB, free: 8.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006301/0.8852, allocations: 361 kB / 1.317 GB, free: 8.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8852, allocations: 8 kB / 1.317 GB, free: 8.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8852, allocations: 0 / 1.317 GB, free: 8.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.8853, allocations: 4 kB / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.8856, allocations: 84.05 kB / 1.317 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8856, allocations: 4 kB / 1.317 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.8859, allocations: 31.73 kB / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.8859, allocations: 19.98 kB / 1.317 GB, free: 7.867 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.0002308/0.8861, allocations: 177.7 kB / 1.317 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8862, allocations: 55.67 kB / 1.317 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/0.8871, allocations: 469 kB / 1.318 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.8871, allocations: 15.92 kB / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8871, allocations: 0 / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006324/0.8878, allocations: 0.5585 MB / 1.318 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.8897, allocations: 1.16 MB / 1.319 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8897, allocations: 48 / 1.319 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.89, allocations: 64.08 kB / 1.319 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.89, allocations: 4 kB / 1.319 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.89, allocations: 8 kB / 1.319 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.89, allocations: 4 kB / 1.319 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.89, allocations: 3.938 kB / 1.319 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.891, allocations: 0.6756 MB / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.8912, allocations: 176.6 kB / 1.32 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.8913, allocations: 8 kB / 1.32 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.8916, allocations: 8 kB / 1.32 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.8916, allocations: 27.91 kB / 1.32 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.8916, allocations: 23.92 kB / 1.32 GB, free: 4.219 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004377/0.8921, allocations: 342.9 kB / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8921, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006798/0.8928, allocations: 199.6 kB / 1.321 GB, free: 3.691 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.0006714/0.8934, allocations: 306.1 kB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.894, allocations: 276.8 kB / 1.321 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.894, allocations: 4 kB / 1.321 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.8942, allocations: 148.4 kB / 1.322 GB, free: 2.973 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.8959, allocations: 341.6 kB / 1.322 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.8977, allocations: 1.09 MB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.8982, allocations: 0.8666 MB / 1.324 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.8986, allocations: 116.7 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8987, allocations: 55.42 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/0.8987, allocations: 0 / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of Templates: time 0.02301/0.9217, allocations: 12.44 MB / 1.336 GB, free: 4.184 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 gbode -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.049892339855433]