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.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.001329/0.001329, allocations: 104.1 kB / 16.45 MB, free: 6.504 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.001479/0.001479, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.506/1.506, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.871, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02655/0.8975, allocations: 23.41 MB / 1.292 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00819/0.9057, allocations: 5.106 MB / 1.297 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009946/0.9067, allocations: 31.81 kB / 1.297 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.9076, allocations: 286 kB / 1.297 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.9097, allocations: 0.8289 MB / 1.298 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.9117, allocations: 0.7763 MB / 1.298 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.9139, allocations: 1.617 MB / 1.3 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.9146, allocations: 409.6 kB / 1.3 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.9162, allocations: 0.6187 MB / 1.301 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00065/0.9168, allocations: 481.9 kB / 1.302 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.9169, allocations: 44 kB / 1.302 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.918, allocations: 0.4913 MB / 1.302 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.9182, allocations: 147.4 kB / 1.302 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.9185, allocations: 310.5 kB / 1.302 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.9199, allocations: 0.9322 MB / 1.303 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9199, allocations: 0 / 1.303 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9199, allocations: 0 / 1.303 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.9199, allocations: 0 / 1.303 GB, free: 1.633 MB / 0.9981 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.001471/0.9214, allocations: 0.903 MB / 1.304 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.9215, allocations: 12.03 kB / 1.304 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.9216, allocations: 74.72 kB / 1.304 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.9218, allocations: 76.55 kB / 1.304 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.9229, allocations: 0.5808 MB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.923, allocations: 32.94 kB / 1.305 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.923, allocations: 40 kB / 1.305 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.9238, allocations: 440.6 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.9238, allocations: 7.953 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.9238, allocations: 16 kB / 1.305 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.9239, allocations: 12 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.9244, allocations: 299.8 kB / 1.306 GB, free: 15.04 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.002833/0.9272, allocations: 1.912 MB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.9277, allocations: 244.4 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.9279, allocations: 112.8 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009226/0.9288, allocations: 0.8584 MB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.9289, allocations: 34.56 kB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.9289, allocations: 0 / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007523/0.9296, allocations: 371.7 kB / 1.309 GB, free: 11.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.9297, allocations: 55.41 kB / 1.309 GB, free: 11.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.9303, allocations: 482 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.9303, allocations: 29.7 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.9305, allocations: 264.4 kB / 1.31 GB, free: 10.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.9306, allocations: 107.1 kB / 1.31 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.9308, allocations: 69.97 kB / 1.31 GB, free: 10.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.9309, allocations: 358.8 kB / 1.311 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.9311, allocations: 100.6 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.9314, allocations: 172 kB / 1.311 GB, free: 9.508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.9318, allocations: 286.6 kB / 1.311 GB, free: 9.203 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.9318, allocations: 11.98 kB / 1.311 GB, free: 9.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000608/0.9324, allocations: 353.1 kB / 1.311 GB, free: 8.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.9324, allocations: 8 kB / 1.311 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9324, allocations: 0 / 1.311 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9325, allocations: 7.938 kB / 1.311 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.9327, allocations: 75.89 kB / 1.311 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.9328, allocations: 12.16 kB / 1.312 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.933, allocations: 31.73 kB / 1.312 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.9331, allocations: 19.98 kB / 1.312 GB, free: 8.688 MB / 1.014 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.000219/0.9333, allocations: 178 kB / 1.312 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.9334, allocations: 55.67 kB / 1.312 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/0.9342, allocations: 469.1 kB / 1.312 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.9342, allocations: 11.92 kB / 1.312 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9343, allocations: 4 kB / 1.312 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/0.9349, allocations: 0.5662 MB / 1.313 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.9368, allocations: 1.156 MB / 1.314 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9368, allocations: 0 / 1.314 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.9371, allocations: 51.97 kB / 1.314 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.9371, allocations: 4 kB / 1.314 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.9371, allocations: 12.19 kB / 1.314 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.9371, allocations: 7.938 kB / 1.314 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9371, allocations: 0 / 1.314 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.9381, allocations: 0.6795 MB / 1.315 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.9383, allocations: 176.6 kB / 1.315 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.9384, allocations: 11.98 kB / 1.315 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.9387, allocations: 11.98 kB / 1.315 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.9387, allocations: 28.05 kB / 1.315 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.9387, allocations: 15.98 kB / 1.315 GB, free: 5.043 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004348/0.9392, allocations: 346.9 kB / 1.315 GB, free: 4.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9392, allocations: 0 / 1.315 GB, free: 4.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000673/0.9399, allocations: 203.5 kB / 1.315 GB, free: 4.508 MB / 1.014 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.001812/0.9417, allocations: 1.401 MB / 1.317 GB, free: 3.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.9422, allocations: 272.8 kB / 1.317 GB, free: 2.805 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9422, allocations: 0 / 1.317 GB, free: 2.805 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.9425, allocations: 155.7 kB / 1.317 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.944, allocations: 342.5 kB / 1.318 GB, free: 2.324 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.9498, allocations: 4.222 MB / 1.322 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.9503, allocations: 0.8666 MB / 1.322 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004724/0.9508, allocations: 116.7 kB / 1.323 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.951, allocations: 195.4 kB / 1.323 GB, free: 12.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.272e-06/0.951, allocations: 0 / 1.323 GB, free: 12.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/1.001, allocations: 17.06 MB / 1.339 GB, free: 11.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.243/10.24, allocations: 17.69 kB / 1.339 GB, free: 11.93 MB / 1.045 GB " [Timeout remaining time 290] (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_2/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: 16.474486677907407]