Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.000774/0.000774, 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.0007718/0.0007718, 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.8769/0.8769, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.688/1.688, allocations: 389 MB / 0.633 GB, free: 12.69 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.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.196e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5162/0.5162, allocations: 147.5 MB / 1.144 GB, free: 7.797 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.5183, allocations: 1.462 MB / 1.145 GB, free: 6.805 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.5185, allocations: 14.47 kB / 1.145 GB, free: 6.797 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.519, allocations: 159.1 kB / 1.145 GB, free: 6.691 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.5203, allocations: 0.7206 MB / 1.146 GB, free: 6.309 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.5215, allocations: 0.6426 MB / 1.147 GB, free: 6 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.5221, allocations: 0.685 MB / 1.147 GB, free: 5.676 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.5224, allocations: 167.2 kB / 1.148 GB, free: 5.609 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/0.5233, allocations: 0.5811 MB / 1.148 GB, free: 5.355 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.5235, allocations: 194 kB / 1.148 GB, free: 5.293 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.5236, allocations: 22.72 kB / 1.148 GB, free: 5.293 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.5245, allocations: 0.7132 MB / 1.149 GB, free: 5.027 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.5246, allocations: 116.3 kB / 1.149 GB, free: 4.973 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.5247, allocations: 120.1 kB / 1.149 GB, free: 4.926 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.5256, allocations: 0.7236 MB / 1.15 GB, free: 4.691 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.5256, allocations: 0 / 1.15 GB, free: 4.691 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5256, allocations: 0 / 1.15 GB, free: 4.691 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5256, allocations: 1.719 kB / 1.15 GB, free: 4.691 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000805/0.5264, allocations: 0.5814 MB / 1.15 GB, free: 4.234 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5265, allocations: 11.16 kB / 1.151 GB, free: 4.234 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.5265, allocations: 55.52 kB / 1.151 GB, free: 4.184 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.5272, allocations: 158.1 kB / 1.151 GB, free: 4.148 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.5276, allocations: 252.3 kB / 1.151 GB, free: 3.957 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5276, allocations: 17.94 kB / 1.151 GB, free: 3.949 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.5276, allocations: 23.88 kB / 1.151 GB, free: 3.941 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.528, allocations: 269.8 kB / 1.151 GB, free: 3.809 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.528, allocations: 0 / 1.151 GB, free: 3.809 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.528, allocations: 10.78 kB / 1.151 GB, free: 3.801 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.528, allocations: 9.188 kB / 1.151 GB, free: 3.797 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.5283, allocations: 202.1 kB / 1.151 GB, free: 3.738 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/0.5292, allocations: 0.985 MB / 1.152 GB, free: 2.984 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.5294, allocations: 127.7 kB / 1.153 GB, free: 2.926 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.5296, allocations: 91.38 kB / 1.153 GB, free: 2.891 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.5298, allocations: 70.31 kB / 1.153 GB, free: 2.887 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.5298, allocations: 32.34 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.5298, allocations: 1.094 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0004919/0.5303, allocations: 286.5 kB / 1.153 GB, free: 2.738 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5304, allocations: 58.16 kB / 1.153 GB, free: 2.672 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.5306, allocations: 309.1 kB / 1.153 GB, free: 2.504 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5306, allocations: 26.61 kB / 1.153 GB, free: 2.473 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5307, allocations: 183.4 kB / 1.154 GB, free: 2.312 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.5308, allocations: 58.47 kB / 1.154 GB, free: 2.266 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.5308, allocations: 49.7 kB / 1.154 GB, free: 2.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5309, allocations: 339.6 kB / 1.154 GB, free: 1.906 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.531, allocations: 71.48 kB / 1.154 GB, free: 1.883 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.5312, allocations: 197.1 kB / 1.154 GB, free: 1.719 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.5314, allocations: 186.7 kB / 1.154 GB, free: 1.621 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5314, allocations: 1.156 kB / 1.154 GB, free: 1.621 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002945/0.5317, allocations: 244.7 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5317, allocations: 5.906 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5317, allocations: 1.703 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5317, allocations: 2.062 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5319, allocations: 43.03 kB / 1.155 GB, free: 1.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5319, allocations: 2.188 kB / 1.155 GB, free: 1.512 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.532, allocations: 34.19 kB / 1.155 GB, free: 1.492 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.532, allocations: 11.83 kB / 1.155 GB, free: 1.488 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001023/0.5321, allocations: 148.6 kB / 1.155 GB, free: 1.355 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.5321, allocations: 35.11 kB / 1.155 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.5324, allocations: 216.3 kB / 1.155 GB, free: 1.242 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5324, allocations: 5.203 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5324, allocations: 2.219 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5324, allocations: 1.359 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.5331, allocations: 0.6393 MB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5331, allocations: 1.375 kB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.5332, allocations: 29.97 kB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5332, allocations: 2.438 kB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5332, allocations: 9.062 kB / 1.156 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5332, allocations: 7.141 kB / 1.156 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5332, allocations: 13.09 kB / 1.156 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.5337, allocations: 430.2 kB / 1.156 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.5337, allocations: 47.89 kB / 1.156 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.5338, allocations: 4.375 kB / 1.156 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.5339, allocations: 12.69 kB / 1.156 GB, free: 476 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.5339, allocations: 16.38 kB / 1.156 GB, free: 472 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.5339, allocations: 8.688 kB / 1.156 GB, free: 468 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001598/0.5341, allocations: 224.2 kB / 1.157 GB, free: 348 kB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5341, allocations: 3.938 kB / 1.157 GB, free: 344 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002767/0.5343, allocations: 83.97 kB / 1.157 GB, free: 328 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0007408/0.5351, allocations: 1.013 MB / 1.158 GB, free: 15.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.5354, allocations: 163.2 kB / 1.158 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5354, allocations: 1.75 kB / 1.158 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.5355, allocations: 81.8 kB / 1.158 GB, free: 15.43 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.536, allocations: 149.2 kB / 1.158 GB, free: 15.39 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5386, allocations: 2.865 MB / 1.161 GB, free: 13.47 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.5388, allocations: 164 kB / 1.161 GB, free: 13.39 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.5389, allocations: 67.41 kB / 1.161 GB, free: 13.38 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.539, allocations: 88.47 kB / 1.161 GB, free: 13.31 MB / 1.026 GB Notification: Performance of SimCode: time 5.71e-07/0.539, allocations: 0 / 1.161 GB, free: 13.31 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.5624, allocations: 9.88 MB / 1.171 GB, free: 11.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/6.981, allocations: 12.25 kB / 1.171 GB, free: 11.69 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senDyn.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.985034151002765]