Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000879/0.000879, 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.0009664/0.0009664, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8817/0.8817, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.178e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01588/0.0159, allocations: 21.49 MB / 1.002 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.02105, allocations: 4.76 MB / 1.007 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.0216, allocations: 39.69 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.02226, allocations: 281.9 kB / 1.007 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.02372, allocations: 0.8545 MB / 1.008 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.02505, allocations: 0.8216 MB / 1.009 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.02662, allocations: 1.636 MB / 1.01 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.02708, allocations: 398.1 kB / 1.011 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.02843, allocations: 0.9397 MB / 1.011 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.02882, allocations: 390.7 kB / 1.012 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.02887, allocations: 48 kB / 1.012 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.02953, allocations: 422.9 kB / 1.012 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.02964, allocations: 155.3 kB / 1.012 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.02979, allocations: 215.5 kB / 1.013 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.03067, allocations: 0.9503 MB / 1.014 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.03067, allocations: 4 kB / 1.014 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.03067, allocations: 0 / 1.014 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.03068, allocations: 0 / 1.014 GB, free: 1.086 MB / 0.9636 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.00089/0.03157, allocations: 0.834 MB / 1.014 GB, free: 228 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.03161, allocations: 12.03 kB / 1.014 GB, free: 216 kB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.03167, allocations: 78.66 kB / 1.014 GB, free: 128 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.03182, allocations: 68.56 kB / 1.015 GB, free: 60 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.0325, allocations: 0.5029 MB / 1.015 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.03252, allocations: 33.38 kB / 1.015 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.03256, allocations: 52.06 kB / 1.015 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.03303, allocations: 0.4979 MB / 1.016 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.03305, allocations: 3.953 kB / 1.016 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.03307, allocations: 19.94 kB / 1.016 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.03309, allocations: 12 kB / 1.016 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.03342, allocations: 299.8 kB / 1.016 GB, free: 14.59 MB / 0.9792 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.001542/0.03496, allocations: 1.509 MB / 1.017 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.03533, allocations: 250.8 kB / 1.018 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.03544, allocations: 112.8 kB / 1.018 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.03568, allocations: 107.9 kB / 1.018 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.0357, allocations: 38.56 kB / 1.018 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 2.735e-06/0.03571, allocations: 0 / 1.018 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=26): time 0.0004953/0.0362, allocations: 366 kB / 1.018 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.03623, allocations: 59.41 kB / 1.018 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.03658, allocations: 489.9 kB / 1.019 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.0366, allocations: 29.7 kB / 1.019 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.03673, allocations: 260.4 kB / 1.019 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.03678, allocations: 99.12 kB / 1.019 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.03686, allocations: 74.02 kB / 1.019 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.03695, allocations: 354.8 kB / 1.02 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.03706, allocations: 100.6 kB / 1.02 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.03729, allocations: 249.2 kB / 1.02 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.03755, allocations: 283.2 kB / 1.02 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.03755, allocations: 4 kB / 1.02 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003625/0.03792, allocations: 365 kB / 1.02 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.03793, allocations: 8 kB / 1.02 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.03794, allocations: 0 / 1.02 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.03795, allocations: 4 kB / 1.02 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.0381, allocations: 76.11 kB / 1.021 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.03811, allocations: 4 kB / 1.021 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.03824, allocations: 43.67 kB / 1.021 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.03826, allocations: 15.98 kB / 1.021 GB, free: 9.547 MB / 0.9792 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.0001328/0.03839, allocations: 177.8 kB / 1.021 GB, free: 9.363 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.03845, allocations: 59.55 kB / 1.021 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.03901, allocations: 479 kB / 1.021 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.03902, allocations: 11.92 kB / 1.021 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.03903, allocations: 4 kB / 1.021 GB, free: 8.82 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003691/0.0394, allocations: 0.5842 MB / 1.022 GB, free: 8.168 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.04043, allocations: 1.006 MB / 1.023 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.04044, allocations: 8.125 kB / 1.023 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.04056, allocations: 51.91 kB / 1.023 GB, free: 7.035 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.04056, allocations: 4 kB / 1.023 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.04058, allocations: 8 kB / 1.023 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.04058, allocations: 4 kB / 1.023 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.04058, allocations: 0 / 1.023 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.04129, allocations: 0.676 MB / 1.024 GB, free: 6.309 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.04141, allocations: 103.5 kB / 1.024 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.04145, allocations: 8 kB / 1.024 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.04159, allocations: 15.98 kB / 1.024 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.04162, allocations: 27.95 kB / 1.024 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.04164, allocations: 16 kB / 1.024 GB, free: 6.141 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002662/0.04191, allocations: 350.8 kB / 1.024 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.04191, allocations: 0 / 1.024 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004698/0.04238, allocations: 203.5 kB / 1.024 GB, free: 5.602 MB / 0.9792 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.001042/0.04342, allocations: 1.408 MB / 1.026 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.04376, allocations: 276.8 kB / 1.026 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04376, allocations: 0 / 1.026 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.04391, allocations: 155.8 kB / 1.026 GB, free: 3.723 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.04476, allocations: 333 kB / 1.026 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.04855, allocations: 4.175 MB / 1.03 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.04871, allocations: 266.5 kB / 1.031 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.04898, allocations: 120.7 kB / 1.031 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.04915, allocations: 200.4 kB / 1.031 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of SimCode: time 8.42e-07/0.04916, allocations: 0 / 1.031 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/0.4546, allocations: 18.87 MB / 1.049 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/7.203, allocations: 6.406 kB / 1.049 GB, free: 102.5 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senHeaFlo.Q_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.26719771977514]