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.001556/0.001556, allocations: 113.4 kB / 17.08 MB, free: 5.789 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.001692/0.001692, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001988/0.001988, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02689/0.3661, allocations: 23.25 MB / 1.199 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008592/0.3747, allocations: 5.089 MB / 1.204 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.3759, allocations: 27.81 kB / 1.204 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.3769, allocations: 274.1 kB / 1.204 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.3793, allocations: 0.7967 MB / 1.205 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.3815, allocations: 0.7596 MB / 1.205 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.3839, allocations: 1.613 MB / 1.207 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.3847, allocations: 489.6 kB / 1.207 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.3863, allocations: 0.6191 MB / 1.208 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.387, allocations: 446 kB / 1.208 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-05/0.3871, allocations: 44 kB / 1.208 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3883, allocations: 491.1 kB / 1.209 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.3885, allocations: 147.4 kB / 1.209 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.3889, allocations: 302.6 kB / 1.209 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.3905, allocations: 0.9342 MB / 1.21 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3905, allocations: 0 / 1.21 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3905, allocations: 0 / 1.21 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3905, allocations: 4 kB / 1.21 GB, free: 2.504 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.001576/0.3921, allocations: 0.9028 MB / 1.211 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3922, allocations: 12.03 kB / 1.211 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.3924, allocations: 64.56 kB / 1.211 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3935, allocations: 0.5887 MB / 1.212 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.3935, allocations: 32.94 kB / 1.212 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.3936, allocations: 36 kB / 1.212 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.3944, allocations: 436.7 kB / 1.212 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3944, allocations: 0 / 1.212 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.3945, allocations: 16 kB / 1.212 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3945, allocations: 12 kB / 1.212 GB, free: 316 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.3951, allocations: 307.7 kB / 1.213 GB, free: 8 kB / 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.002916/0.398, allocations: 1.923 MB / 1.214 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3985, allocations: 262.7 kB / 1.215 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.3988, allocations: 121.7 kB / 1.215 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/0.3997, allocations: 0.8506 MB / 1.216 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3998, allocations: 34.56 kB / 1.216 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.3998, allocations: 0 / 1.216 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0007504/0.4005, allocations: 384.1 kB / 1.216 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.4006, allocations: 63.28 kB / 1.216 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.4012, allocations: 474 kB / 1.217 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.4012, allocations: 29.7 kB / 1.217 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.4015, allocations: 264.4 kB / 1.217 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4016, allocations: 99.16 kB / 1.217 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4017, allocations: 77.97 kB / 1.217 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4019, allocations: 354.8 kB / 1.217 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4021, allocations: 96.61 kB / 1.217 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4024, allocations: 168.1 kB / 1.218 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.4029, allocations: 283.2 kB / 1.218 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4029, allocations: 0 / 1.218 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006435/0.4035, allocations: 361.1 kB / 1.218 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4035, allocations: 11.94 kB / 1.218 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4036, allocations: 0 / 1.218 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4036, allocations: 4 kB / 1.218 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.4039, allocations: 76.06 kB / 1.218 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4039, allocations: 4 kB / 1.218 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.4042, allocations: 51.61 kB / 1.218 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4042, allocations: 12 kB / 1.218 GB, free: 9.629 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.0002418/0.4045, allocations: 181.8 kB / 1.219 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.4046, allocations: 47.72 kB / 1.219 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.4054, allocations: 473 kB / 1.219 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.4055, allocations: 7.938 kB / 1.219 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4055, allocations: 3.938 kB / 1.219 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006781/0.4062, allocations: 0.5684 MB / 1.22 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.4081, allocations: 1.152 MB / 1.221 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4081, allocations: 4 kB / 1.221 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.4083, allocations: 51.91 kB / 1.221 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4084, allocations: 4.188 kB / 1.221 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.4084, allocations: 23.92 kB / 1.221 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4084, allocations: 0 / 1.221 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4084, allocations: 4 kB / 1.221 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4095, allocations: 0.6611 MB / 1.221 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.4098, allocations: 180.6 kB / 1.222 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.4098, allocations: 8 kB / 1.222 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.4101, allocations: 11.98 kB / 1.222 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4102, allocations: 23.97 kB / 1.222 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4102, allocations: 15.94 kB / 1.222 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004542/0.4107, allocations: 354.8 kB / 1.222 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4107, allocations: 0 / 1.222 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006973/0.4114, allocations: 195.6 kB / 1.222 GB, free: 5.461 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.0007849/0.4122, allocations: 299.5 kB / 1.223 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.4128, allocations: 299.9 kB / 1.223 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4128, allocations: 0 / 1.223 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.413, allocations: 159.8 kB / 1.223 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.4146, allocations: 332 kB / 1.223 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.4166, allocations: 1.113 MB / 1.224 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.4172, allocations: 0.8666 MB / 1.225 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.4173, allocations: 59.36 kB / 1.225 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.4173, allocations: 0 / 1.225 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of Templates: time 0.01645/0.4338, allocations: 9.931 MB / 1.235 GB, free: 8.445 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.493821916054003]