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.001172/0.001172, 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.001261/0.001261, 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.9248/0.9248, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.656/1.656, allocations: 359 MB / 0.6037 GB, free: 11.08 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.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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.451e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6526/0.6527, allocations: 147.5 MB / 1.095 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.6547, allocations: 1.486 MB / 1.096 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.6548, allocations: 15.75 kB / 1.096 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.6553, allocations: 155.9 kB / 1.096 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.6564, allocations: 0.7256 MB / 1.097 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.6573, allocations: 0.6655 MB / 1.098 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.6578, allocations: 0.7071 MB / 1.098 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.658, allocations: 191.7 kB / 1.098 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.6585, allocations: 426.6 kB / 1.099 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.6587, allocations: 209.8 kB / 1.099 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.6587, allocations: 22.19 kB / 1.099 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.6594, allocations: 0.736 MB / 1.1 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.6595, allocations: 107.8 kB / 1.1 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.6596, allocations: 119.2 kB / 1.1 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.6605, allocations: 0.7291 MB / 1.101 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.6605, allocations: 1 kB / 1.101 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6605, allocations: 0 / 1.101 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.6605, allocations: 0 / 1.101 GB, free: 37.09 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.0007655/0.6613, allocations: 0.5871 MB / 1.101 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6613, allocations: 9.609 kB / 1.101 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.6614, allocations: 55.55 kB / 1.101 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006996/0.6621, allocations: 157.3 kB / 1.102 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.6626, allocations: 261.6 kB / 1.102 GB, free: 36.36 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.6626, allocations: 17.62 kB / 1.102 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.6626, allocations: 23.75 kB / 1.102 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.6631, allocations: 270 kB / 1.102 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6631, allocations: 8.094 kB / 1.102 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.6632, allocations: 10.97 kB / 1.102 GB, free: 36.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6632, allocations: 9.219 kB / 1.102 GB, free: 36.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.6636, allocations: 201.8 kB / 1.102 GB, free: 36.13 MB / 0.9948 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.001153/0.6648, allocations: 0.9689 MB / 1.103 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.665, allocations: 136.9 kB / 1.103 GB, free: 35.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.6652, allocations: 86.31 kB / 1.103 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.6655, allocations: 71.97 kB / 1.104 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.6655, allocations: 35.84 kB / 1.104 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.6655, allocations: 1.188 kB / 1.104 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0005894/0.6661, allocations: 286 kB / 1.104 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.6661, allocations: 54.66 kB / 1.104 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.6664, allocations: 315.2 kB / 1.104 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6664, allocations: 30.83 kB / 1.104 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6665, allocations: 184.2 kB / 1.104 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.6665, allocations: 61.05 kB / 1.104 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.6666, allocations: 42.08 kB / 1.104 GB, free: 34.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.6666, allocations: 343.2 kB / 1.105 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6667, allocations: 62.92 kB / 1.105 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.6669, allocations: 200.2 kB / 1.105 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.6671, allocations: 182.5 kB / 1.105 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6671, allocations: 1.094 kB / 1.105 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003054/0.6674, allocations: 250.7 kB / 1.105 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6674, allocations: 10.09 kB / 1.105 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6675, allocations: 2.188 kB / 1.105 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6675, allocations: 2.875 kB / 1.105 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.6676, allocations: 41.8 kB / 1.106 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6676, allocations: 2.219 kB / 1.106 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6677, allocations: 34.95 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.6677, allocations: 7.062 kB / 1.106 GB, free: 33.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 9.62e-05/0.6678, allocations: 153.1 kB / 1.106 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.6679, allocations: 34.08 kB / 1.106 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.6682, allocations: 214.5 kB / 1.106 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6682, allocations: 1.031 kB / 1.106 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6682, allocations: 0.875 kB / 1.106 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6682, allocations: 1.125 kB / 1.106 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.6689, allocations: 0.6375 MB / 1.107 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.6689, allocations: 7 kB / 1.107 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.669, allocations: 29.03 kB / 1.107 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.669, allocations: 2.75 kB / 1.107 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.669, allocations: 8.156 kB / 1.107 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.669, allocations: 10.88 kB / 1.107 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.669, allocations: 7.219 kB / 1.107 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.6695, allocations: 432.2 kB / 1.107 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.6696, allocations: 47.59 kB / 1.107 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.6696, allocations: 3.375 kB / 1.107 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.6697, allocations: 12.59 kB / 1.107 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.6697, allocations: 23.33 kB / 1.107 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.6697, allocations: 9.875 kB / 1.107 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001779/0.6699, allocations: 226.6 kB / 1.107 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6699, allocations: 0 / 1.107 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002724/0.6702, allocations: 82.89 kB / 1.107 GB, free: 32.74 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.0007045/0.6709, allocations: 1.012 MB / 1.108 GB, free: 31.92 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.6712, allocations: 166.8 kB / 1.109 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6712, allocations: 3.938 kB / 1.109 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6713, allocations: 90.03 kB / 1.109 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.6719, allocations: 154.2 kB / 1.109 GB, free: 31.81 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6745, allocations: 2.878 MB / 1.112 GB, free: 29.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.6746, allocations: 170 kB / 1.112 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.6747, allocations: 66.61 kB / 1.112 GB, free: 29.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.6748, allocations: 89.88 kB / 1.112 GB, free: 29.73 MB / 0.9948 GB Notification: Performance of SimCode: time 4.71e-07/0.6749, allocations: 3.938 kB / 1.112 GB, free: 29.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.6999, allocations: 10.08 MB / 1.122 GB, free: 28.12 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/8.13, allocations: 14.27 kB / 1.122 GB, free: 28.12 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.309290288947523]