Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001346/0.001346, allocations: 111 kB / 16.46 MB, free: 6.035 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.001417/0.001417, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 69.8 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 173.9 MB / 1.304 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0261/0.3522, allocations: 23.44 MB / 1.327 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00809/0.3603, allocations: 5.109 MB / 1.332 GB, free: 4.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.3611, allocations: 31.75 kB / 1.332 GB, free: 4.812 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009097/0.362, allocations: 290 kB / 1.332 GB, free: 4.527 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3642, allocations: 0.8241 MB / 1.333 GB, free: 3.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.3661, allocations: 0.7847 MB / 1.334 GB, free: 2.922 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.3681, allocations: 1.598 MB / 1.335 GB, free: 1.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.3687, allocations: 417.6 kB / 1.336 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3705, allocations: 0.7254 MB / 1.336 GB, free: 188 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.3711, allocations: 470 kB / 1.337 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.3711, allocations: 48 kB / 1.337 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3722, allocations: 0.4913 MB / 1.337 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3724, allocations: 147.4 kB / 1.338 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.3727, allocations: 310.5 kB / 1.338 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.374, allocations: 0.9187 MB / 1.339 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.374, allocations: 0 / 1.339 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.374, allocations: 0 / 1.339 GB, free: 13.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.374, allocations: 0 / 1.339 GB, free: 13.81 MB / 1.045 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.001389/0.3754, allocations: 0.9107 MB / 1.34 GB, free: 12.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3755, allocations: 12.92 kB / 1.34 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.036e-05/0.3755, allocations: 78.7 kB / 1.34 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.3758, allocations: 72.52 kB / 1.34 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3768, allocations: 0.5845 MB / 1.34 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.3769, allocations: 33 kB / 1.34 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.377, allocations: 36 kB / 1.34 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.3777, allocations: 432.7 kB / 1.341 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3777, allocations: 3.938 kB / 1.341 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.3778, allocations: 16 kB / 1.341 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.3778, allocations: 16 kB / 1.341 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.3783, allocations: 303.8 kB / 1.341 GB, free: 11.21 MB / 1.045 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.002776/0.3811, allocations: 1.923 MB / 1.343 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.3816, allocations: 246.8 kB / 1.343 GB, free: 8.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.3818, allocations: 108.8 kB / 1.343 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/0.3827, allocations: 0.8466 MB / 1.344 GB, free: 7.773 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3828, allocations: 38.56 kB / 1.344 GB, free: 7.727 MB / 1.045 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.3828, allocations: 0 / 1.344 GB, free: 7.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=26): time 0.0007256/0.3835, allocations: 378.5 kB / 1.345 GB, free: 7.352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3835, allocations: 55.41 kB / 1.345 GB, free: 7.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.3841, allocations: 478.1 kB / 1.345 GB, free: 6.805 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3842, allocations: 29.7 kB / 1.345 GB, free: 6.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3844, allocations: 268.4 kB / 1.345 GB, free: 6.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.3845, allocations: 95.2 kB / 1.345 GB, free: 6.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3846, allocations: 73.97 kB / 1.346 GB, free: 6.332 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3847, allocations: 354.8 kB / 1.346 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3849, allocations: 104.6 kB / 1.346 GB, free: 5.875 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3851, allocations: 160.1 kB / 1.346 GB, free: 5.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3856, allocations: 286.6 kB / 1.346 GB, free: 5.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3856, allocations: 4 kB / 1.346 GB, free: 5.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005859/0.3862, allocations: 369 kB / 1.347 GB, free: 5.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3862, allocations: 7.938 kB / 1.347 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3862, allocations: 4 kB / 1.347 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3862, allocations: 7.938 kB / 1.347 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3865, allocations: 71.91 kB / 1.347 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3865, allocations: 4 kB / 1.347 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3867, allocations: 43.88 kB / 1.347 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.3868, allocations: 16 kB / 1.347 GB, free: 4.867 MB / 1.045 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.0002034/0.387, allocations: 173.8 kB / 1.347 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3871, allocations: 59.66 kB / 1.347 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.3879, allocations: 489.1 kB / 1.348 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3879, allocations: 3.938 kB / 1.348 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3879, allocations: 4 kB / 1.348 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000609/0.3885, allocations: 0.5608 MB / 1.348 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3904, allocations: 1.156 MB / 1.349 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3904, allocations: 0 / 1.349 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3906, allocations: 55.91 kB / 1.349 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3906, allocations: 4 kB / 1.349 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3907, allocations: 8 kB / 1.349 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.3907, allocations: 8.172 kB / 1.349 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3907, allocations: 4 kB / 1.349 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.3916, allocations: 0.6716 MB / 1.35 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.3918, allocations: 172.7 kB / 1.35 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.3919, allocations: 8 kB / 1.35 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3921, allocations: 8 kB / 1.35 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3922, allocations: 27.91 kB / 1.35 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.3922, allocations: 15.98 kB / 1.35 GB, free: 1.227 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3926, allocations: 350.8 kB / 1.351 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 4 kB / 1.351 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006299/0.3933, allocations: 203.5 kB / 1.351 GB, free: 0.6836 MB / 1.045 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.001747/0.395, allocations: 1.389 MB / 1.352 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.3955, allocations: 291.9 kB / 1.352 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3956, allocations: 3.984 kB / 1.352 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.3958, allocations: 147.5 kB / 1.353 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3973, allocations: 349.9 kB / 1.353 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/0.4029, allocations: 4.215 MB / 1.357 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.4034, allocations: 0.8627 MB / 1.358 GB, free: 9.223 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003989/0.4038, allocations: 120.7 kB / 1.358 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.404, allocations: 191.3 kB / 1.358 GB, free: 8.914 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/0.404, allocations: 7.938 kB / 1.358 GB, free: 8.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/0.458, allocations: 17.07 MB / 1.375 GB, free: 8.105 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.15/9.608, allocations: 4 kB / 1.375 GB, free: 8.102 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.163093600887805]