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.001307/0.001307, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001562/0.001562, allocations: 216 kB / 23.04 MB, free: 5.078 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.77/2.77, allocations: 476.7 MB / 0.7714 GB, free: 4.328 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",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.002067/0.002067, allocations: 64.08 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02813/0.3748, allocations: 23.78 MB / 1.307 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009041/0.3839, allocations: 5.12 MB / 1.312 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3852, allocations: 39.69 kB / 1.312 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3865, allocations: 282 kB / 1.313 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.3895, allocations: 0.8513 MB / 1.314 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.392, allocations: 0.7962 MB / 1.314 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.3949, allocations: 1.66 MB / 1.316 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009049/0.3958, allocations: 398.1 kB / 1.316 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.3979, allocations: 0.647 MB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.3991, allocations: 481.9 kB / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.3993, allocations: 44 kB / 1.317 GB, free: 9.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.401, allocations: 0.5303 MB / 1.318 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.4013, allocations: 147.4 kB / 1.318 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.4019, allocations: 306.5 kB / 1.318 GB, free: 8.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.4042, allocations: 0.9424 MB / 1.319 GB, free: 7.652 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4042, allocations: 7.938 kB / 1.319 GB, free: 7.645 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4042, allocations: 0 / 1.319 GB, free: 7.645 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.4042, allocations: 0 / 1.319 GB, free: 7.645 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.001872/0.4061, allocations: 0.8315 MB / 1.32 GB, free: 6.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4062, allocations: 12.03 kB / 1.32 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.274e-05/0.4062, allocations: 13.17 kB / 1.32 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.4063, allocations: 82.7 kB / 1.32 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.4066, allocations: 64.56 kB / 1.32 GB, free: 6.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.4077, allocations: 0.511 MB / 1.321 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.4077, allocations: 36.94 kB / 1.321 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.4078, allocations: 36 kB / 1.321 GB, free: 5.996 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.4086, allocations: 440.6 kB / 1.321 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4086, allocations: 0 / 1.321 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.4087, allocations: 16 kB / 1.321 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.4087, allocations: 12 kB / 1.321 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.4092, allocations: 307.8 kB / 1.322 GB, free: 5.219 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.003002/0.4122, allocations: 1.788 MB / 1.323 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.4128, allocations: 238.8 kB / 1.324 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.413, allocations: 116.8 kB / 1.324 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.4136, allocations: 99.89 kB / 1.324 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.4136, allocations: 38.56 kB / 1.324 GB, free: 2.828 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 3.437e-06/0.4136, allocations: 0 / 1.324 GB, free: 2.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007869/0.4144, allocations: 380.1 kB / 1.324 GB, free: 2.453 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4144, allocations: 55.41 kB / 1.324 GB, free: 2.387 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.415, allocations: 474 kB / 1.325 GB, free: 1.914 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4151, allocations: 33.7 kB / 1.325 GB, free: 1.875 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.4153, allocations: 268.5 kB / 1.325 GB, free: 1.609 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.4154, allocations: 99.11 kB / 1.325 GB, free: 1.512 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4155, allocations: 66.02 kB / 1.325 GB, free: 1.441 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4157, allocations: 362.8 kB / 1.325 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.4159, allocations: 96.61 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.4161, allocations: 164.1 kB / 1.326 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.4166, allocations: 295.1 kB / 1.326 GB, free: 500 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4166, allocations: 0 / 1.326 GB, free: 500 kB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006207/0.4172, allocations: 369 kB / 1.326 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4172, allocations: 4 kB / 1.326 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4172, allocations: 4 kB / 1.326 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4172, allocations: 7.938 kB / 1.326 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.4175, allocations: 71.91 kB / 1.326 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4175, allocations: 4 kB / 1.326 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.4178, allocations: 35.91 kB / 1.326 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.4179, allocations: 16.22 kB / 1.326 GB, free: 15.98 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.0002258/0.4181, allocations: 186.3 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4182, allocations: 55.61 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/0.4191, allocations: 494.4 kB / 1.327 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4191, allocations: 4 kB / 1.327 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4191, allocations: 0 / 1.327 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000648/0.4197, allocations: 0.5768 MB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.4216, allocations: 1.068 MB / 1.329 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4216, allocations: 0 / 1.329 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4219, allocations: 51.91 kB / 1.329 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4219, allocations: 4 kB / 1.329 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.4219, allocations: 8 kB / 1.329 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4219, allocations: 4 kB / 1.329 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4219, allocations: 0 / 1.329 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.4229, allocations: 0.6954 MB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.4231, allocations: 95.59 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.4231, allocations: 11.98 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.4234, allocations: 8 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.4235, allocations: 35.83 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.4235, allocations: 11.98 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004406/0.4239, allocations: 346.9 kB / 1.33 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4239, allocations: 0 / 1.33 GB, free: 12.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00069/0.4246, allocations: 203.5 kB / 1.33 GB, free: 11.97 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.001758/0.4264, allocations: 1.396 MB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.427, allocations: 279.7 kB / 1.332 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.427, allocations: 0 / 1.332 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.4272, allocations: 164.4 kB / 1.332 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.4289, allocations: 330 kB / 1.332 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.4354, allocations: 4.236 MB / 1.336 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.436, allocations: 0.8627 MB / 1.337 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000558/0.4366, allocations: 124.6 kB / 1.337 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.4369, allocations: 195.4 kB / 1.338 GB, free: 4.176 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4369, allocations: 0 / 1.338 GB, free: 4.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05071/0.4876, allocations: 17.39 MB / 1.355 GB, free: 3.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.28, allocations: 18.7 kB / 1.355 GB, free: 3.105 MB / 1.045 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] 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: 19.993078898987733]