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.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.001866/0.001866, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002251/0.002251, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.729/2.729, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.064e-06/2.064e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.541e-05, allocations: 6.906 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03242/0.03246, allocations: 21.45 MB / 0.8073 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.0419, allocations: 4.758 MB / 0.812 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009589/0.04286, allocations: 35.69 kB / 0.812 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.044, allocations: 281.9 kB / 0.8123 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.04676, allocations: 0.8584 MB / 0.8131 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.04925, allocations: 0.8062 MB / 0.8139 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002743/0.05199, allocations: 1.648 MB / 0.8155 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009484/0.05294, allocations: 406.1 kB / 0.8159 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.05579, allocations: 0.8396 MB / 0.8167 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.05671, allocations: 402.8 kB / 0.8171 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.05686, allocations: 44 kB / 0.8172 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.0581, allocations: 426.8 kB / 0.8176 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.05838, allocations: 159.4 kB / 0.8177 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/0.05886, allocations: 211.5 kB / 0.8179 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.06145, allocations: 0.9503 MB / 0.8189 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.06145, allocations: 0 / 0.8189 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.06145, allocations: 0 / 0.8189 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.06148, allocations: 0 / 0.8189 GB, free: 11.52 MB / 0.7761 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.001763/0.06324, allocations: 0.8276 MB / 0.8197 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.06328, allocations: 8.031 kB / 0.8197 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.0636, allocations: 108.4 kB / 0.8198 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.06472, allocations: 0.5342 MB / 0.8203 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.06477, allocations: 29.38 kB / 0.8203 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.06485, allocations: 44.38 kB / 0.8204 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.06572, allocations: 0.5095 MB / 0.8209 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.06573, allocations: 0 / 0.8209 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.06578, allocations: 16 kB / 0.8209 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.06581, allocations: 19.98 kB / 0.8209 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.06636, allocations: 303.7 kB / 0.8212 GB, free: 9.031 MB / 0.7761 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.002783/0.06914, allocations: 1.459 MB / 0.8226 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.06976, allocations: 250.7 kB / 0.8228 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.06996, allocations: 112.8 kB / 0.823 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.0705, allocations: 99.89 kB / 0.8231 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.07054, allocations: 38.56 kB / 0.8231 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.07055, allocations: 4 kB / 0.8231 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.0008292/0.07137, allocations: 370.9 kB / 0.8234 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.07142, allocations: 55.41 kB / 0.8235 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.07199, allocations: 397.9 kB / 0.8239 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.07203, allocations: 33.7 kB / 0.8239 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.07231, allocations: 272.4 kB / 0.8242 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.07241, allocations: 99.25 kB / 0.8243 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.07255, allocations: 66.02 kB / 0.8243 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.07276, allocations: 362.7 kB / 0.8247 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.07294, allocations: 92.61 kB / 0.8248 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.07332, allocations: 253.2 kB / 0.825 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.0738, allocations: 284 kB / 0.8253 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.0738, allocations: 0 / 0.8253 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006635/0.07446, allocations: 373.1 kB / 0.8256 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.07448, allocations: 8 kB / 0.8256 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.07449, allocations: 0 / 0.8256 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.07451, allocations: 4 kB / 0.8256 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.07479, allocations: 67.91 kB / 0.8257 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.0748, allocations: 7.984 kB / 0.8257 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.07504, allocations: 31.78 kB / 0.8257 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.07508, allocations: 12 kB / 0.8258 GB, free: 4.156 MB / 0.7761 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.0002532/0.07534, allocations: 193.8 kB / 0.8259 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.07547, allocations: 55.72 kB / 0.826 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.07641, allocations: 474.5 kB / 0.8264 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.07642, allocations: 4 kB / 0.8265 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.07643, allocations: 0 / 0.8265 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008734/0.0773, allocations: 0.5762 MB / 0.827 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.07919, allocations: 0.967 MB / 0.828 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.07919, allocations: 4 kB / 0.828 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.07944, allocations: 51.91 kB / 0.828 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.07944, allocations: 4 kB / 0.828 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.07948, allocations: 15.94 kB / 0.828 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.07948, allocations: 4.188 kB / 0.828 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.07948, allocations: 4 kB / 0.828 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.08054, allocations: 0.6803 MB / 0.8287 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.08073, allocations: 91.64 kB / 0.8288 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.08079, allocations: 11.94 kB / 0.8288 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.08105, allocations: 11.98 kB / 0.8288 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.0811, allocations: 23.91 kB / 0.8288 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.08113, allocations: 15.98 kB / 0.8289 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003742/0.08151, allocations: 279.1 kB / 0.8291 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.08151, allocations: 0 / 0.8291 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006903/0.0822, allocations: 219.4 kB / 0.8293 GB, free: 336 kB / 0.7761 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.0005504/0.08275, allocations: 278.9 kB / 0.8296 GB, free: 44 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.08333, allocations: 280 kB / 0.8299 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08334, allocations: 448 / 0.8299 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.08387, allocations: 169.6 kB / 0.83 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.08517, allocations: 269.2 kB / 0.8303 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.08702, allocations: 0.9957 MB / 0.8313 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.08734, allocations: 262.2 kB / 0.8315 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.08767, allocations: 100.3 kB / 0.8316 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.0878, allocations: 52.47 kB / 0.8316 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.0878, allocations: 0 / 0.8316 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of Templates: time 0.02133/0.1091, allocations: 10.81 MB / 0.8422 GB, free: 3.32 MB / 0.7917 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.251630195998587]