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.001605/0.001605, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002079/0.002079, allocations: 216 kB / 23.01 MB, free: 4.566 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002027/0.002027, allocations: 66.67 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02819/0.3655, allocations: 23.78 MB / 1.308 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008592/0.3741, allocations: 5.131 MB / 1.313 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.3751, allocations: 39.69 kB / 1.313 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009203/0.376, allocations: 290 kB / 1.313 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.3784, allocations: 0.8436 MB / 1.314 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.3807, allocations: 0.7994 MB / 1.315 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.3833, allocations: 1.656 MB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.3841, allocations: 410.1 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.3857, allocations: 0.634 MB / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.3865, allocations: 481.9 kB / 1.318 GB, free: 9.086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.3866, allocations: 44 kB / 1.318 GB, free: 9.043 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.388, allocations: 0.5303 MB / 1.318 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3882, allocations: 147.4 kB / 1.319 GB, free: 8.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.3886, allocations: 314.5 kB / 1.319 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3901, allocations: 0.9459 MB / 1.32 GB, free: 7.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3902, allocations: 0 / 1.32 GB, free: 7.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3902, allocations: 0 / 1.32 GB, free: 7.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3902, allocations: 0 / 1.32 GB, free: 7.109 MB / 1.014 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.001493/0.3917, allocations: 0.8275 MB / 1.321 GB, free: 6.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3917, allocations: 16.03 kB / 1.321 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.392, allocations: 68.55 kB / 1.321 GB, free: 6.168 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3931, allocations: 0.5037 MB / 1.321 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.3931, allocations: 36.88 kB / 1.321 GB, free: 5.609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.3932, allocations: 36 kB / 1.321 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.3939, allocations: 440.7 kB / 1.322 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3939, allocations: 0 / 1.322 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.394, allocations: 19.98 kB / 1.322 GB, free: 5.102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.394, allocations: 12 kB / 1.322 GB, free: 5.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.3945, allocations: 303.8 kB / 1.322 GB, free: 4.793 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.002867/0.3974, allocations: 1.784 MB / 1.324 GB, free: 2.906 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.3979, allocations: 246.8 kB / 1.324 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3981, allocations: 116.7 kB / 1.324 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/0.3987, allocations: 99.89 kB / 1.324 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3987, allocations: 34.56 kB / 1.324 GB, free: 2.398 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.3987, allocations: 0 / 1.324 GB, free: 2.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007815/0.3995, allocations: 369.1 kB / 1.325 GB, free: 2.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3995, allocations: 63.34 kB / 1.325 GB, free: 1.957 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.4001, allocations: 482 kB / 1.325 GB, free: 1.477 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4002, allocations: 29.7 kB / 1.325 GB, free: 1.441 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.4004, allocations: 268.5 kB / 1.325 GB, free: 1.176 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.4005, allocations: 99.11 kB / 1.325 GB, free: 1.078 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4006, allocations: 70.02 kB / 1.325 GB, free: 1.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4008, allocations: 358.8 kB / 1.326 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.401, allocations: 100.6 kB / 1.326 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4013, allocations: 168 kB / 1.326 GB, free: 368 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.4017, allocations: 291.1 kB / 1.326 GB, free: 52 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4017, allocations: 4 kB / 1.326 GB, free: 48 kB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006452/0.4024, allocations: 361.2 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4024, allocations: 12.03 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4024, allocations: 0 / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4024, allocations: 4 kB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.4027, allocations: 75.84 kB / 1.327 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.4027, allocations: 4 kB / 1.327 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.403, allocations: 35.72 kB / 1.327 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.403, allocations: 20 kB / 1.327 GB, free: 15.54 MB / 1.029 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.0002407/0.4033, allocations: 186.2 kB / 1.327 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4034, allocations: 63.66 kB / 1.327 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/0.4042, allocations: 475 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4043, allocations: 11.94 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4043, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006659/0.4049, allocations: 0.5726 MB / 1.328 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.407, allocations: 1.068 MB / 1.329 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.407, allocations: 0 / 1.329 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.4072, allocations: 51.91 kB / 1.329 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4073, allocations: 4 kB / 1.329 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4073, allocations: 8 kB / 1.329 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4073, allocations: 4 kB / 1.329 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4073, allocations: 7.938 kB / 1.329 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.4083, allocations: 0.6877 MB / 1.33 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.4085, allocations: 91.59 kB / 1.33 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.4085, allocations: 8 kB / 1.33 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4088, allocations: 15.98 kB / 1.33 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4088, allocations: 31.89 kB / 1.33 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.4089, allocations: 19.94 kB / 1.33 GB, free: 12.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004873/0.4094, allocations: 346.8 kB / 1.33 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4094, allocations: 0 / 1.33 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006881/0.4101, allocations: 207.5 kB / 1.331 GB, free: 11.52 MB / 1.029 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.0005175/0.4106, allocations: 278.8 kB / 1.331 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000555/0.4111, allocations: 279.7 kB / 1.331 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4111, allocations: 0 / 1.331 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4114, allocations: 157.5 kB / 1.331 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4129, allocations: 335.3 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.4149, allocations: 1.101 MB / 1.333 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.4154, allocations: 0.8666 MB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4156, allocations: 55.36 kB / 1.334 GB, free: 8.387 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4156, allocations: 4 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of Templates: time 0.01649/0.4321, allocations: 9.915 MB / 1.343 GB, free: 14.57 MB / 1.045 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 -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/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: 13.126857038005255]