Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000836/0.000836, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001026/0.001026, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8771/0.8771, 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.691/1.691, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 4 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.513e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5609/0.5609, allocations: 147.6 MB / 1.125 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.5627, allocations: 1.482 MB / 1.127 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.5629, allocations: 19.06 kB / 1.127 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.5634, allocations: 152.2 kB / 1.127 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.5647, allocations: 0.7181 MB / 1.127 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.5658, allocations: 0.662 MB / 1.128 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.5665, allocations: 0.7001 MB / 1.129 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.5667, allocations: 182.5 kB / 1.129 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.5675, allocations: 0.591 MB / 1.129 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.5677, allocations: 193.3 kB / 1.13 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.5677, allocations: 22.78 kB / 1.13 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008909/0.5686, allocations: 0.7219 MB / 1.13 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.5687, allocations: 110.8 kB / 1.131 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.5688, allocations: 116.5 kB / 1.131 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007758/0.5696, allocations: 0.7247 MB / 1.131 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5696, allocations: 5.125 kB / 1.131 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5696, allocations: 3.938 kB / 1.131 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.5696, allocations: 0 / 1.131 GB, free: 10.11 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006348/0.5702, allocations: 0.5776 MB / 1.132 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5703, allocations: 9.562 kB / 1.132 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.5703, allocations: 54.62 kB / 1.132 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.5709, allocations: 159.5 kB / 1.132 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.5712, allocations: 259.4 kB / 1.132 GB, free: 9.379 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5712, allocations: 18.28 kB / 1.132 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.5713, allocations: 26.88 kB / 1.132 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.5716, allocations: 277.6 kB / 1.133 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5716, allocations: 8.531 kB / 1.133 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5716, allocations: 15.08 kB / 1.133 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5716, allocations: 8.375 kB / 1.133 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.5719, allocations: 195.4 kB / 1.133 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.5726, allocations: 0.9746 MB / 1.134 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.5728, allocations: 131.2 kB / 1.134 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5729, allocations: 83.58 kB / 1.134 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.5732, allocations: 74.12 kB / 1.134 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.5732, allocations: 37.75 kB / 1.134 GB, free: 8.254 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.5732, allocations: 0 / 1.134 GB, free: 8.254 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004478/0.5736, allocations: 281 kB / 1.134 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.5736, allocations: 53.67 kB / 1.134 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.5738, allocations: 319.9 kB / 1.135 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.5738, allocations: 35.08 kB / 1.135 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.5739, allocations: 179.8 kB / 1.135 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5739, allocations: 61.92 kB / 1.135 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.574, allocations: 42.92 kB / 1.135 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.574, allocations: 339.2 kB / 1.135 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.5741, allocations: 62.94 kB / 1.135 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5742, allocations: 198.4 kB / 1.136 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.5744, allocations: 197.8 kB / 1.136 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5744, allocations: 0 / 1.136 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002649/0.5747, allocations: 250.7 kB / 1.136 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5747, allocations: 5.562 kB / 1.136 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5747, allocations: 1.281 kB / 1.136 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5747, allocations: 3.125 kB / 1.136 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5748, allocations: 42.14 kB / 1.136 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5748, allocations: 2.5 kB / 1.136 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.5749, allocations: 29.94 kB / 1.136 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.575, allocations: 7.922 kB / 1.136 GB, free: 6.91 MB / 0.9948 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 7.713e-05/0.575, allocations: 150.8 kB / 1.136 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.5751, allocations: 33.77 kB / 1.136 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.5753, allocations: 224 kB / 1.137 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5753, allocations: 5.156 kB / 1.137 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5754, allocations: 5.219 kB / 1.137 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5754, allocations: 1.969 kB / 1.137 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.5759, allocations: 0.6289 MB / 1.137 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5759, allocations: 5.75 kB / 1.137 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.576, allocations: 37.12 kB / 1.137 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.576, allocations: 4.078 kB / 1.137 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.576, allocations: 7.281 kB / 1.137 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.576, allocations: 3.062 kB / 1.137 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.576, allocations: 6.312 kB / 1.137 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.5764, allocations: 426.9 kB / 1.138 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.5765, allocations: 50.08 kB / 1.138 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.5765, allocations: 4.938 kB / 1.138 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.5766, allocations: 11.56 kB / 1.138 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.5766, allocations: 15.61 kB / 1.138 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.5766, allocations: 5.656 kB / 1.138 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000137/0.5767, allocations: 227.1 kB / 1.138 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5767, allocations: 0 / 1.138 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002558/0.577, allocations: 83.38 kB / 1.138 GB, free: 5.75 MB / 0.9948 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.0005731/0.5776, allocations: 1.016 MB / 1.139 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.5778, allocations: 163.6 kB / 1.139 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5778, allocations: 0 / 1.139 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.5779, allocations: 91.77 kB / 1.139 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.5785, allocations: 161.4 kB / 1.139 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.5807, allocations: 2.896 MB / 1.142 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.5808, allocations: 174 kB / 1.142 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.581, allocations: 62.95 kB / 1.142 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.5811, allocations: 89.19 kB / 1.143 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/0.5811, allocations: 7.938 kB / 1.143 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.6088, allocations: 10.09 MB / 1.152 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/7.089, allocations: 4.75 kB / 1.152 GB, free: 1.09 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.16149346344173]