Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001921/0.001921, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002351/0.002351, allocations: 212.5 kB / 23.04 MB, free: 4.863 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.56 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0275/0.4129, allocations: 21.64 MB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009133/0.422, allocations: 4.746 MB / 1.353 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.4231, allocations: 35.69 kB / 1.353 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009516/0.4241, allocations: 286 kB / 1.353 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.4269, allocations: 0.8319 MB / 1.354 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.43, allocations: 0.7785 MB / 1.355 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.4337, allocations: 1.633 MB / 1.356 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.4347, allocations: 406.1 kB / 1.357 GB, free: 2.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.4377, allocations: 0.7428 MB / 1.358 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009796/0.4386, allocations: 441.9 kB / 1.358 GB, free: 1.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.4387, allocations: 52 kB / 1.358 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.44, allocations: 411.2 kB / 1.358 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.4402, allocations: 143.4 kB / 1.359 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.4406, allocations: 258.9 kB / 1.359 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.4421, allocations: 0.9227 MB / 1.36 GB, free: 15.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4421, allocations: 7.938 kB / 1.36 GB, free: 15.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4421, allocations: 0 / 1.36 GB, free: 15.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4421, allocations: 4 kB / 1.36 GB, free: 15.55 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.001441/0.4436, allocations: 0.8353 MB / 1.361 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4436, allocations: 11.97 kB / 1.361 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.4439, allocations: 68.56 kB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.4449, allocations: 0.5076 MB / 1.361 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4449, allocations: 32.94 kB / 1.361 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.445, allocations: 44 kB / 1.361 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.4458, allocations: 0.4979 MB / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4458, allocations: 0 / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.4459, allocations: 16 kB / 1.362 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.4459, allocations: 15.94 kB / 1.362 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.4464, allocations: 299.8 kB / 1.362 GB, free: 13.13 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.002616/0.449, allocations: 1.451 MB / 1.363 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.4496, allocations: 252.2 kB / 1.364 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.4498, allocations: 104.8 kB / 1.364 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.4503, allocations: 111.8 kB / 1.364 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4503, allocations: 38.55 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.4503, allocations: 0 / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0007324/0.4511, allocations: 359.4 kB / 1.364 GB, free: 10.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4511, allocations: 63.34 kB / 1.364 GB, free: 10.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.4516, allocations: 401.8 kB / 1.365 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4517, allocations: 33.7 kB / 1.365 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.4519, allocations: 268.5 kB / 1.365 GB, free: 9.984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.452, allocations: 111.2 kB / 1.365 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4521, allocations: 69.97 kB / 1.365 GB, free: 9.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4523, allocations: 354.8 kB / 1.365 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4525, allocations: 96.59 kB / 1.366 GB, free: 9.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.4528, allocations: 245.2 kB / 1.366 GB, free: 9.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.4533, allocations: 274.7 kB / 1.366 GB, free: 8.777 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4533, allocations: 3.938 kB / 1.366 GB, free: 8.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006155/0.4539, allocations: 369.1 kB / 1.366 GB, free: 8.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4539, allocations: 4 kB / 1.366 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4539, allocations: 4 kB / 1.366 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4539, allocations: 4 kB / 1.366 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4542, allocations: 72.11 kB / 1.366 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4542, allocations: 11.94 kB / 1.366 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.4545, allocations: 31.78 kB / 1.367 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.4545, allocations: 15.98 kB / 1.367 GB, free: 8.266 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.0002404/0.4547, allocations: 178.4 kB / 1.367 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.4548, allocations: 47.72 kB / 1.367 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.4557, allocations: 485 kB / 1.367 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.4557, allocations: 4 kB / 1.367 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4557, allocations: 3.938 kB / 1.367 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.4564, allocations: 0.5726 MB / 1.368 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.4582, allocations: 0.9477 MB / 1.369 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4583, allocations: 3.938 kB / 1.369 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4585, allocations: 51.91 kB / 1.369 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.4585, allocations: 4 kB / 1.369 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4585, allocations: 11.98 kB / 1.369 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4585, allocations: 4 kB / 1.369 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4585, allocations: 0 / 1.369 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.4595, allocations: 0.6832 MB / 1.369 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.4597, allocations: 95.77 kB / 1.37 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4597, allocations: 11.98 kB / 1.37 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.46, allocations: 8 kB / 1.37 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.46, allocations: 23.95 kB / 1.37 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.4601, allocations: 12 kB / 1.37 GB, free: 4.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003567/0.4604, allocations: 279.1 kB / 1.37 GB, free: 4.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4604, allocations: 0 / 1.37 GB, free: 4.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007245/0.4611, allocations: 215.4 kB / 1.37 GB, free: 4.477 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.0005279/0.4617, allocations: 287.8 kB / 1.37 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.4622, allocations: 284.7 kB / 1.371 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4622, allocations: 4 kB / 1.371 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.4624, allocations: 155.8 kB / 1.371 GB, free: 3.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4636, allocations: 254.3 kB / 1.371 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4655, allocations: 1.108 MB / 1.372 GB, free: 2.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.4658, allocations: 254.2 kB / 1.372 GB, free: 2.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.466, allocations: 55.41 kB / 1.372 GB, free: 2.023 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.466, allocations: 4 kB / 1.372 GB, free: 2.02 MB / 1.061 GB Notification: Performance of Templates: time 0.01525/0.4812, allocations: 9.187 MB / 1.381 GB, free: 8.906 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.668318357085809]