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.0008096/0.0008096, 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.0008548/0.0008548, allocations: 169.9 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.9374/0.9374, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.742e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02382/0.02385, allocations: 21.45 MB / 0.9715 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008704/0.03256, allocations: 4.741 MB / 0.9761 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.03372, allocations: 35.69 kB / 0.9761 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009441/0.03467, allocations: 289.9 kB / 0.9764 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.0367, allocations: 0.8506 MB / 0.9772 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.03835, allocations: 0.8234 MB / 0.978 GB, free: 7.203 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.04068, allocations: 1.644 MB / 0.9796 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.04122, allocations: 394 kB / 0.98 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.04259, allocations: 0.8389 MB / 0.9808 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.04303, allocations: 410.7 kB / 0.9812 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.04308, allocations: 44 kB / 0.9813 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.0439, allocations: 422.9 kB / 0.9817 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.04403, allocations: 159.3 kB / 0.9818 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.04421, allocations: 211.5 kB / 0.982 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.04532, allocations: 0.9464 MB / 0.9829 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.04533, allocations: 0 / 0.9829 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.906e-06/0.04533, allocations: 3.938 kB / 0.983 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.04535, allocations: 4 kB / 0.983 GB, free: 2.145 MB / 0.9323 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.001073/0.04642, allocations: 0.8238 MB / 0.9838 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.04646, allocations: 8.031 kB / 0.9838 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.04653, allocations: 78.64 kB / 0.9838 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.04669, allocations: 72.56 kB / 0.9839 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.04748, allocations: 0.5107 MB / 0.9844 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.0475, allocations: 33.36 kB / 0.9844 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.04756, allocations: 48.11 kB / 0.9845 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.0481, allocations: 0.5096 MB / 0.985 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.04812, allocations: 0 / 0.985 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.04814, allocations: 16 kB / 0.985 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.04816, allocations: 12 kB / 0.985 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.04851, allocations: 307.8 kB / 0.9853 GB, free: 15.63 MB / 0.948 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.001674/0.05018, allocations: 1.509 MB / 0.9868 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.05056, allocations: 242.8 kB / 0.987 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.05068, allocations: 112.8 kB / 0.9871 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.05094, allocations: 103.9 kB / 0.9872 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.05097, allocations: 30.56 kB / 0.9872 GB, free: 13.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.05097, allocations: 0 / 0.9872 GB, free: 13.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.0005816/0.05155, allocations: 382.8 kB / 0.9876 GB, free: 13.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.05158, allocations: 55.41 kB / 0.9877 GB, free: 13.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.05195, allocations: 478 kB / 0.9881 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.05198, allocations: 33.7 kB / 0.9882 GB, free: 12.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.05212, allocations: 268.3 kB / 0.9884 GB, free: 12.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.05218, allocations: 99.23 kB / 0.9885 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.05225, allocations: 70.02 kB / 0.9886 GB, free: 12.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.05235, allocations: 358.8 kB / 0.9889 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.05246, allocations: 92.61 kB / 0.989 GB, free: 11.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.05264, allocations: 253 kB / 0.9892 GB, free: 11.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.05302, allocations: 288 kB / 0.9895 GB, free: 11.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.05303, allocations: 3.938 kB / 0.9895 GB, free: 11.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003788/0.05341, allocations: 369.2 kB / 0.9899 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.05342, allocations: 4 kB / 0.9899 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.05343, allocations: 4 kB / 0.9899 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.05345, allocations: 0 / 0.9899 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.05361, allocations: 75.91 kB / 0.99 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.05362, allocations: 3.984 kB / 0.99 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.05377, allocations: 43.61 kB / 0.99 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.05379, allocations: 16 kB / 0.99 GB, free: 10.61 MB / 0.948 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.0001559/0.05395, allocations: 181.7 kB / 0.9902 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.05401, allocations: 55.75 kB / 0.9902 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.05456, allocations: 487 kB / 0.9907 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.05458, allocations: 8 kB / 0.9907 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.05458, allocations: 0 / 0.9907 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003808/0.05496, allocations: 0.5801 MB / 0.9913 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.05608, allocations: 1.01 MB / 0.9923 GB, free: 8.145 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.05609, allocations: 7.938 kB / 0.9923 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.05621, allocations: 43.92 kB / 0.9923 GB, free: 8.094 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.05622, allocations: 4 kB / 0.9923 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.05624, allocations: 11.98 kB / 0.9923 GB, free: 8.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.05624, allocations: 4 kB / 0.9923 GB, free: 8.074 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.05624, allocations: 4.188 kB / 0.9923 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.05699, allocations: 0.6837 MB / 0.993 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.05712, allocations: 99.42 kB / 0.9931 GB, free: 7.254 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.05716, allocations: 8 kB / 0.9931 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.0573, allocations: 11.98 kB / 0.9931 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.05734, allocations: 27.91 kB / 0.9931 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.05736, allocations: 19.98 kB / 0.9932 GB, free: 7.188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002678/0.05763, allocations: 342.9 kB / 0.9935 GB, free: 6.855 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05763, allocations: 0 / 0.9935 GB, free: 6.855 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005006/0.05813, allocations: 203.5 kB / 0.9937 GB, free: 6.656 MB / 0.948 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.001119/0.05925, allocations: 1.404 MB / 0.9951 GB, free: 5.207 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.05961, allocations: 281.7 kB / 0.9953 GB, free: 4.934 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.05961, allocations: 0 / 0.9953 GB, free: 4.934 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.05977, allocations: 160.2 kB / 0.9955 GB, free: 4.777 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.06065, allocations: 339 kB / 0.9958 GB, free: 4.453 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.06461, allocations: 4.177 MB / 0.9999 GB, free: 116 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.06481, allocations: 270.4 kB / 1 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.06511, allocations: 124.6 kB / 1 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.0653, allocations: 188.4 kB / 1 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/0.0653, allocations: 0 / 1 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.1048, allocations: 18.86 MB / 1.019 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.51, allocations: 8.578 kB / 1.019 GB, free: 13.1 MB / 0.9792 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.759132141247392]