Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001301/0.001301, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001573/0.001573, allocations: 216 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.053/3.053, allocations: 476 MB / 0.7699 GB, free: 4.676 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 70.03 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3544, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2048/0.5591, allocations: 147.6 MB / 1.427 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.5624, allocations: 1.468 MB / 1.428 GB, free: 6.754 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.5627, allocations: 23.75 kB / 1.428 GB, free: 6.73 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.5632, allocations: 158.9 kB / 1.428 GB, free: 6.574 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.565, allocations: 0.7001 MB / 1.429 GB, free: 5.871 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5667, allocations: 0.6292 MB / 1.43 GB, free: 5.242 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.5676, allocations: 0.7051 MB / 1.43 GB, free: 4.531 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.568, allocations: 190.7 kB / 1.431 GB, free: 4.348 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.5686, allocations: 354.7 kB / 1.431 GB, free: 4 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.5689, allocations: 219 kB / 1.431 GB, free: 3.785 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.569, allocations: 23.98 kB / 1.431 GB, free: 3.762 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.5702, allocations: 0.7245 MB / 1.432 GB, free: 3.035 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.5703, allocations: 107.7 kB / 1.432 GB, free: 2.93 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.5705, allocations: 135.4 kB / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5715, allocations: 0.6985 MB / 1.433 GB, free: 2.098 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5715, allocations: 0 / 1.433 GB, free: 2.098 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5715, allocations: 0 / 1.433 GB, free: 2.098 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5715, allocations: 4 kB / 1.433 GB, free: 2.094 MB / 1.123 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.001015/0.5726, allocations: 0.5862 MB / 1.433 GB, free: 1.477 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5726, allocations: 11.97 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.5727, allocations: 58.53 kB / 1.433 GB, free: 1.398 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.5737, allocations: 151.6 kB / 1.433 GB, free: 1.25 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.5743, allocations: 260 kB / 1.434 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.5743, allocations: 20.42 kB / 1.434 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.5744, allocations: 24 kB / 1.434 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.5749, allocations: 275.4 kB / 1.434 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5749, allocations: 3.938 kB / 1.434 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.5749, allocations: 16 kB / 1.434 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5749, allocations: 4 kB / 1.434 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.5754, allocations: 195.8 kB / 1.434 GB, free: 432 kB / 1.123 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.001477/0.5768, allocations: 0.9734 MB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.5771, allocations: 134.4 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5773, allocations: 88.8 kB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.5778, allocations: 76.08 kB / 1.435 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.5778, allocations: 30.56 kB / 1.436 GB, free: 15.05 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5778, allocations: 4 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0007954/0.5786, allocations: 277.3 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.5787, allocations: 55.41 kB / 1.436 GB, free: 14.7 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.579, allocations: 324.4 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.5791, allocations: 25.7 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.5793, allocations: 184.2 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.5793, allocations: 55.59 kB / 1.436 GB, free: 14.11 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.5794, allocations: 45.66 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5796, allocations: 338.8 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5798, allocations: 71.94 kB / 1.437 GB, free: 13.64 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.58, allocations: 201.3 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.5804, allocations: 192.5 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5804, allocations: 0 / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004798/0.5809, allocations: 241.3 kB / 1.437 GB, free: 12.97 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.5809, allocations: 4 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.5809, allocations: 3.984 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.581, allocations: 4 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5812, allocations: 43.92 kB / 1.437 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.5812, allocations: 8.094 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5814, allocations: 27.77 kB / 1.438 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.5814, allocations: 12 kB / 1.438 GB, free: 12.87 MB / 1.139 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.0001538/0.5815, allocations: 153.7 kB / 1.438 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.5816, allocations: 31.8 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.5822, allocations: 214.7 kB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5822, allocations: 4 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5822, allocations: 3.938 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5822, allocations: 7.938 kB / 1.438 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.5832, allocations: 0.6397 MB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5832, allocations: 0 / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.5834, allocations: 36.19 kB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5834, allocations: 7.938 kB / 1.439 GB, free: 11.69 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.5834, allocations: 4 kB / 1.439 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5834, allocations: 7.938 kB / 1.439 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5834, allocations: 0 / 1.439 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.5841, allocations: 437.2 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5843, allocations: 51.75 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.5843, allocations: 12 kB / 1.439 GB, free: 11.15 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5845, allocations: 12.05 kB / 1.439 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.5845, allocations: 15.98 kB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5845, allocations: 4 kB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000244/0.5848, allocations: 227 kB / 1.439 GB, free: 10.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5848, allocations: 0 / 1.439 GB, free: 10.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004034/0.5852, allocations: 83.92 kB / 1.439 GB, free: 10.82 MB / 1.139 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.001182/0.5864, allocations: 1.022 MB / 1.44 GB, free: 9.746 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.5868, allocations: 163.8 kB / 1.441 GB, free: 9.586 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5868, allocations: 0 / 1.441 GB, free: 9.586 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.587, allocations: 84.44 kB / 1.441 GB, free: 9.504 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.5879, allocations: 161 kB / 1.441 GB, free: 9.348 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.5916, allocations: 2.918 MB / 1.444 GB, free: 6.281 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.5918, allocations: 167.2 kB / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.592, allocations: 66.92 kB / 1.444 GB, free: 6.031 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.5922, allocations: 87.41 kB / 1.444 GB, free: 5.945 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/0.5922, allocations: 0 / 1.444 GB, free: 5.945 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.6342, allocations: 9.98 MB / 1.454 GB, free: 12.27 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.46, allocations: 10.92 kB / 1.454 GB, free: 12.26 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.62158317025751]