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.00125/0.00125, allocations: 101.6 kB / 16.45 MB, free: 6.449 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.00145/0.00145, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.117/3.117, allocations: 0.49 GB / 0.7916 GB, free: 33.19 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [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.001932/0.001932, allocations: 71.17 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3098, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02962/0.3394, allocations: 23.58 MB / 1.344 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008722/0.3481, allocations: 5.1 MB / 1.349 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.3491, allocations: 39.62 kB / 1.349 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.3501, allocations: 290 kB / 1.349 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.3528, allocations: 0.8319 MB / 1.35 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.355, allocations: 0.7668 MB / 1.351 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.3575, allocations: 1.609 MB / 1.352 GB, free: 3.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.3584, allocations: 421.6 kB / 1.353 GB, free: 2.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.3603, allocations: 0.7276 MB / 1.353 GB, free: 1.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.3611, allocations: 470 kB / 1.354 GB, free: 1.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.3612, allocations: 44 kB / 1.354 GB, free: 1.426 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3623, allocations: 0.5069 MB / 1.354 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3625, allocations: 147.4 kB / 1.355 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.3629, allocations: 318.5 kB / 1.355 GB, free: 472 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3644, allocations: 0.942 MB / 1.356 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3644, allocations: 4 kB / 1.356 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3644, allocations: 0 / 1.356 GB, free: 15.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3645, allocations: 0 / 1.356 GB, free: 15.51 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.001593/0.3661, allocations: 0.9107 MB / 1.357 GB, free: 14.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3661, allocations: 11.98 kB / 1.357 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.3662, allocations: 86.69 kB / 1.357 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3665, allocations: 68.56 kB / 1.357 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3677, allocations: 0.5806 MB / 1.357 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.3678, allocations: 33 kB / 1.357 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.3678, allocations: 43.94 kB / 1.357 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.3686, allocations: 440.7 kB / 1.358 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3686, allocations: 0 / 1.358 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.3687, allocations: 16 kB / 1.358 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.3687, allocations: 8 kB / 1.358 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005764/0.3693, allocations: 303.8 kB / 1.358 GB, free: 12.91 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.00307/0.3724, allocations: 1.919 MB / 1.36 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.3729, allocations: 248.9 kB / 1.36 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.3731, allocations: 112.8 kB / 1.36 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/0.374, allocations: 0.8506 MB / 1.361 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.3741, allocations: 34.5 kB / 1.361 GB, free: 9.418 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.3741, allocations: 0 / 1.361 GB, free: 9.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0008233/0.3749, allocations: 380.6 kB / 1.362 GB, free: 9.043 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.375, allocations: 51.41 kB / 1.362 GB, free: 8.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.3756, allocations: 478.1 kB / 1.362 GB, free: 8.504 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.3757, allocations: 29.7 kB / 1.362 GB, free: 8.469 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.3759, allocations: 268.3 kB / 1.362 GB, free: 8.203 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.376, allocations: 99.23 kB / 1.363 GB, free: 8.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3762, allocations: 70.02 kB / 1.363 GB, free: 8.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3763, allocations: 354.8 kB / 1.363 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3765, allocations: 104.6 kB / 1.363 GB, free: 7.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.3768, allocations: 172 kB / 1.363 GB, free: 7.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.3772, allocations: 283.2 kB / 1.363 GB, free: 7.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3772, allocations: 0 / 1.363 GB, free: 7.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006665/0.3779, allocations: 361.3 kB / 1.364 GB, free: 6.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.3779, allocations: 12 kB / 1.364 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3779, allocations: 0 / 1.364 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.378, allocations: 7.938 kB / 1.364 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.3782, allocations: 71.91 kB / 1.364 GB, free: 6.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.3783, allocations: 7.938 kB / 1.364 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.3786, allocations: 43.66 kB / 1.364 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3786, allocations: 16 kB / 1.364 GB, free: 6.566 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.0002327/0.3788, allocations: 177.8 kB / 1.364 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.379, allocations: 55.61 kB / 1.364 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008816/0.3799, allocations: 477 kB / 1.365 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.3799, allocations: 7.938 kB / 1.365 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3799, allocations: 4 kB / 1.365 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.3805, allocations: 0.5647 MB / 1.365 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3826, allocations: 1.157 MB / 1.366 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.3826, allocations: 4 kB / 1.366 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3828, allocations: 47.91 kB / 1.366 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.3828, allocations: 4 kB / 1.366 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3828, allocations: 8 kB / 1.366 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.3829, allocations: 11.98 kB / 1.366 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3829, allocations: 7.938 kB / 1.366 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.3839, allocations: 0.6716 MB / 1.367 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.3841, allocations: 172.7 kB / 1.367 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.3842, allocations: 8 kB / 1.367 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.3845, allocations: 16 kB / 1.367 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3846, allocations: 27.84 kB / 1.367 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.3846, allocations: 15.98 kB / 1.367 GB, free: 2.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005381/0.3851, allocations: 350.8 kB / 1.368 GB, free: 2.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 1.368 GB, free: 2.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007754/0.3859, allocations: 203.5 kB / 1.368 GB, free: 2.379 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.001898/0.3878, allocations: 1.385 MB / 1.369 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.3884, allocations: 283.5 kB / 1.369 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3884, allocations: 0 / 1.369 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.3887, allocations: 152.5 kB / 1.37 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3903, allocations: 335.3 kB / 1.37 GB, free: 208 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.3969, allocations: 4.219 MB / 1.374 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3975, allocations: 0.8627 MB / 1.375 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004745/0.3979, allocations: 120.7 kB / 1.375 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.3982, allocations: 195.4 kB / 1.375 GB, free: 10.61 MB / 1.076 GB Notification: Performance of SimCode: time 1.333e-06/0.3983, allocations: 0 / 1.375 GB, free: 10.61 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.4464, allocations: 16.97 MB / 1.392 GB, free: 9.895 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.053, allocations: 7.875 kB / 1.392 GB, free: 9.887 MB / 1.092 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] 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: 15.359201974002644]