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.001739/0.001739, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002516/0.002516, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.636/1.636, allocations: 230.6 MB / 256 MB, free: 7.996 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.905/2.905, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_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.002059/0.002059, allocations: 65.55 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02926/0.3966, allocations: 23.78 MB / 1.307 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.4069, allocations: 5.116 MB / 1.312 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.4086, allocations: 43.62 kB / 1.312 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.4101, allocations: 290 kB / 1.312 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.4137, allocations: 0.8436 MB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.4164, allocations: 0.8055 MB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002965/0.4194, allocations: 1.663 MB / 1.315 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.4202, allocations: 398.1 kB / 1.316 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.4223, allocations: 0.6364 MB / 1.316 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.4232, allocations: 485.9 kB / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.4233, allocations: 44 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.4247, allocations: 0.5303 MB / 1.317 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4248, allocations: 147.4 kB / 1.317 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.4252, allocations: 310.5 kB / 1.318 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.4269, allocations: 0.9424 MB / 1.319 GB, free: 7.594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4269, allocations: 0 / 1.319 GB, free: 7.594 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4269, allocations: 0 / 1.319 GB, free: 7.594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.4269, allocations: 0 / 1.319 GB, free: 7.594 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.001487/0.4284, allocations: 0.8354 MB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4284, allocations: 12.02 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.4285, allocations: 74.72 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.4288, allocations: 68.56 kB / 1.32 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4299, allocations: 0.519 MB / 1.32 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.43, allocations: 29 kB / 1.32 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.43, allocations: 40 kB / 1.32 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.4308, allocations: 436.7 kB / 1.32 GB, free: 5.508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4308, allocations: 7.984 kB / 1.321 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.4308, allocations: 16 kB / 1.321 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.4309, allocations: 8 kB / 1.321 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.4314, allocations: 303.8 kB / 1.321 GB, free: 5.184 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.002993/0.4344, allocations: 1.788 MB / 1.323 GB, free: 3.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.4349, allocations: 237.5 kB / 1.323 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.4352, allocations: 112.8 kB / 1.323 GB, free: 2.941 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.4357, allocations: 103.9 kB / 1.323 GB, free: 2.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4357, allocations: 38.5 kB / 1.323 GB, free: 2.793 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.4357, allocations: 0 / 1.323 GB, free: 2.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007689/0.4365, allocations: 378.2 kB / 1.323 GB, free: 2.418 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4365, allocations: 51.41 kB / 1.323 GB, free: 2.355 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.4371, allocations: 478 kB / 1.324 GB, free: 1.879 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.4372, allocations: 33.7 kB / 1.324 GB, free: 1.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.4374, allocations: 264.5 kB / 1.324 GB, free: 1.578 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.4375, allocations: 103.1 kB / 1.324 GB, free: 1.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.4376, allocations: 70.02 kB / 1.324 GB, free: 1.402 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4378, allocations: 354.8 kB / 1.325 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.438, allocations: 96.61 kB / 1.325 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4382, allocations: 172 kB / 1.325 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.4387, allocations: 295.1 kB / 1.325 GB, free: 460 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4387, allocations: 0 / 1.325 GB, free: 460 kB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006177/0.4393, allocations: 365 kB / 1.326 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4393, allocations: 8 kB / 1.326 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4393, allocations: 0 / 1.326 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4393, allocations: 11.88 kB / 1.326 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.4396, allocations: 84.11 kB / 1.326 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4397, allocations: 7.938 kB / 1.326 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4399, allocations: 35.73 kB / 1.326 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.44, allocations: 16 kB / 1.326 GB, free: 15.93 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.0002187/0.4402, allocations: 180.2 kB / 1.326 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.4403, allocations: 51.67 kB / 1.326 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/0.4411, allocations: 478.7 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4411, allocations: 11.97 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4411, allocations: 0 / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006414/0.4418, allocations: 0.5845 MB / 1.327 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4437, allocations: 1.057 MB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4437, allocations: 7.938 kB / 1.328 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.4439, allocations: 51.97 kB / 1.328 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4439, allocations: 4.188 kB / 1.328 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4439, allocations: 15.98 kB / 1.328 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4439, allocations: 3.938 kB / 1.328 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4439, allocations: 4 kB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.4449, allocations: 0.6836 MB / 1.329 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.4451, allocations: 103.5 kB / 1.329 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.4452, allocations: 11.94 kB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.4455, allocations: 8 kB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.4455, allocations: 27.89 kB / 1.329 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.4455, allocations: 15.98 kB / 1.329 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004479/0.446, allocations: 346.9 kB / 1.329 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.446, allocations: 0 / 1.329 GB, free: 12.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000687/0.4467, allocations: 203.5 kB / 1.329 GB, free: 11.93 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.001741/0.4484, allocations: 1.392 MB / 1.331 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.449, allocations: 283.6 kB / 1.331 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.449, allocations: 3.984 kB / 1.331 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.4493, allocations: 155.7 kB / 1.331 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.4509, allocations: 343.4 kB / 1.332 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.4573, allocations: 4.23 MB / 1.336 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.458, allocations: 0.8666 MB / 1.337 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.4584, allocations: 116.7 kB / 1.337 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.4588, allocations: 187.4 kB / 1.337 GB, free: 4.141 MB / 1.029 GB Notification: Performance of SimCode: time 1.843e-06/0.4588, allocations: 3.938 kB / 1.337 GB, free: 4.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06161/0.5204, allocations: 17.36 MB / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.87, allocations: 14.58 kB / 1.354 GB, free: 3.082 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: 20.048153450945392]