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.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.0006548/0.0006548, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008054/0.0008054, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8438/0.8438, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.708/1.708, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.343e-06/1.343e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.397e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01351/0.01352, allocations: 21.46 MB / 1.021 GB, free: 7.918 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.0178, allocations: 4.747 MB / 1.025 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.01814, allocations: 35.69 kB / 1.025 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.01869, allocations: 281.9 kB / 1.026 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.01976, allocations: 0.8468 MB / 1.026 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.02094, allocations: 0.816 MB / 1.027 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.0221, allocations: 1.623 MB / 1.029 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.02244, allocations: 377.4 kB / 1.029 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.02346, allocations: 0.9208 MB / 1.03 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.02379, allocations: 398.7 kB / 1.03 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.02383, allocations: 44 kB / 1.03 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.02428, allocations: 415 kB / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.02438, allocations: 159.4 kB / 1.031 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.02452, allocations: 215.5 kB / 1.031 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.02525, allocations: 0.9503 MB / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.02526, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.02526, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.02526, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.9948 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.000817/0.02608, allocations: 0.8081 MB / 1.033 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.02612, allocations: 12.75 kB / 1.033 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.02617, allocations: 82.7 kB / 1.033 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.02631, allocations: 64.56 kB / 1.033 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.02692, allocations: 0.5068 MB / 1.034 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.02694, allocations: 29.38 kB / 1.034 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.02699, allocations: 44.12 kB / 1.034 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.02744, allocations: 0.5095 MB / 1.034 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.02745, allocations: 0 / 1.034 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.02747, allocations: 19.98 kB / 1.034 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.02749, allocations: 8 kB / 1.034 GB, free: 9.914 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.02781, allocations: 299.8 kB / 1.034 GB, free: 9.621 MB / 0.9948 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.001516/0.02933, allocations: 1.525 MB / 1.036 GB, free: 8.035 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.02967, allocations: 242.8 kB / 1.036 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.02977, allocations: 120.7 kB / 1.036 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.03, allocations: 107.9 kB / 1.036 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.03001, allocations: 38.56 kB / 1.036 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.03002, allocations: 0 / 1.036 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.0004412/0.03046, allocations: 369.2 kB / 1.037 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.03048, allocations: 55.41 kB / 1.037 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.03081, allocations: 477.9 kB / 1.037 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.03084, allocations: 33.7 kB / 1.037 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.031, allocations: 260.5 kB / 1.038 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.03104, allocations: 91.19 kB / 1.038 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.03111, allocations: 81.97 kB / 1.038 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.03121, allocations: 358.7 kB / 1.038 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.03132, allocations: 100.6 kB / 1.038 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.03148, allocations: 249.2 kB / 1.038 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.03173, allocations: 274.7 kB / 1.039 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.03173, allocations: 4 kB / 1.039 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003466/0.03208, allocations: 358.5 kB / 1.039 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.03209, allocations: 8 kB / 1.039 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.0321, allocations: 0 / 1.039 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.03211, allocations: 4 kB / 1.039 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.03227, allocations: 83.77 kB / 1.039 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.03227, allocations: 4.219 kB / 1.039 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.0324, allocations: 51.56 kB / 1.039 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.03242, allocations: 19.98 kB / 1.039 GB, free: 4.566 MB / 0.9948 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.000123/0.03254, allocations: 173.8 kB / 1.039 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.03259, allocations: 47.72 kB / 1.039 GB, free: 4.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.03307, allocations: 477.3 kB / 1.04 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.03308, allocations: 7.984 kB / 1.04 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.03308, allocations: 4 kB / 1.04 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003705/0.03345, allocations: 0.5805 MB / 1.04 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.03452, allocations: 1.006 MB / 1.041 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.03453, allocations: 7.938 kB / 1.041 GB, free: 2.129 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.03465, allocations: 52.16 kB / 1.041 GB, free: 2.078 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.03465, allocations: 0 / 1.041 GB, free: 2.078 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.03467, allocations: 20 kB / 1.042 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03467, allocations: 3.938 kB / 1.042 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.03467, allocations: 4 kB / 1.042 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.03521, allocations: 0.6698 MB / 1.042 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.03532, allocations: 103.6 kB / 1.042 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.03535, allocations: 8 kB / 1.042 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.03548, allocations: 15.97 kB / 1.042 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.03551, allocations: 19.97 kB / 1.042 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.03553, allocations: 23.98 kB / 1.042 GB, free: 1.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002339/0.03576, allocations: 342.9 kB / 1.043 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03576, allocations: 0 / 1.043 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003569/0.03612, allocations: 203.5 kB / 1.043 GB, free: 0.6484 MB / 0.9948 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.0009339/0.03705, allocations: 1.4 MB / 1.044 GB, free: 15.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.03736, allocations: 275.8 kB / 1.044 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03736, allocations: 4 kB / 1.044 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.0375, allocations: 156.8 kB / 1.045 GB, free: 14.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.03825, allocations: 317.3 kB / 1.045 GB, free: 14.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.04153, allocations: 4.157 MB / 1.049 GB, free: 10.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.04168, allocations: 266.4 kB / 1.049 GB, free: 9.859 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.0419, allocations: 120.6 kB / 1.049 GB, free: 9.738 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.04206, allocations: 192.4 kB / 1.05 GB, free: 9.551 MB / 1.01 GB Notification: Performance of SimCode: time 6.91e-07/0.04206, allocations: 4 kB / 1.05 GB, free: 9.547 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/0.4258, allocations: 18.65 MB / 1.068 GB, free: 94.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/7.172, allocations: 12.42 kB / 1.068 GB, free: 94.74 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.056856813840568]