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.00194/0.00194, 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.002221/0.002221, allocations: 215.4 kB / 22.24 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.004 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 2.912/2.912, allocations: 476 MB / 0.7699 GB, free: 4.711 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.002175/0.002175, allocations: 67.98 kB / 1.117 GB, free: 41.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.372, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1876/0.5596, allocations: 147.6 MB / 1.427 GB, free: 8.285 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.5624, allocations: 1.478 MB / 1.428 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.5627, allocations: 19.81 kB / 1.428 GB, free: 6.789 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.5632, allocations: 150.9 kB / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.5652, allocations: 0.704 MB / 1.429 GB, free: 5.934 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.5669, allocations: 0.6324 MB / 1.43 GB, free: 5.301 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.5679, allocations: 0.7051 MB / 1.43 GB, free: 4.59 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.5683, allocations: 186.9 kB / 1.431 GB, free: 4.406 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.569, allocations: 350.7 kB / 1.431 GB, free: 4.062 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.5693, allocations: 219.1 kB / 1.431 GB, free: 3.848 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.5694, allocations: 24 kB / 1.431 GB, free: 3.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.5707, allocations: 0.7245 MB / 1.432 GB, free: 3.098 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.5708, allocations: 115.6 kB / 1.432 GB, free: 2.984 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.571, allocations: 143.3 kB / 1.432 GB, free: 2.844 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.572, allocations: 0.6926 MB / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.572, allocations: 0 / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/0.572, allocations: 0 / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.572, allocations: 0 / 1.433 GB, free: 2.152 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.0009793/0.573, allocations: 0.5862 MB / 1.433 GB, free: 1.535 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.573, allocations: 8.031 kB / 1.433 GB, free: 1.527 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.5731, allocations: 62.53 kB / 1.433 GB, free: 1.457 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5742, allocations: 159.6 kB / 1.433 GB, free: 1.301 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.5747, allocations: 248.1 kB / 1.434 GB, free: 1.035 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5747, allocations: 24.44 kB / 1.434 GB, free: 1.012 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.5748, allocations: 20 kB / 1.434 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.5753, allocations: 283.4 kB / 1.434 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5753, allocations: 3.938 kB / 1.434 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.5753, allocations: 8 kB / 1.434 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5753, allocations: 8 kB / 1.434 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.5758, allocations: 195.8 kB / 1.434 GB, free: 492 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.00148/0.5773, allocations: 0.9773 MB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.5776, allocations: 126.5 kB / 1.435 GB, free: 15.31 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5777, allocations: 88.8 kB / 1.435 GB, free: 15.22 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/0.5782, allocations: 79.86 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5783, allocations: 34.56 kB / 1.436 GB, free: 15.1 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.5783, allocations: 0 / 1.436 GB, free: 15.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008106/0.5791, allocations: 281.6 kB / 1.436 GB, free: 14.82 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.5791, allocations: 51.41 kB / 1.436 GB, free: 14.76 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.5795, allocations: 320.5 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5795, allocations: 29.64 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5797, allocations: 188.2 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.5797, allocations: 55.52 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.5798, allocations: 49.66 kB / 1.436 GB, free: 14.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.58, allocations: 334.8 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.5802, allocations: 71.94 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.5805, allocations: 202.1 kB / 1.437 GB, free: 13.46 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.5808, allocations: 183.6 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5808, allocations: 0 / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000492/0.5813, allocations: 245.4 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5814, allocations: 4 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5814, allocations: 4 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5814, allocations: 3.984 kB / 1.437 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5816, allocations: 47.92 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5816, allocations: 3.984 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5818, allocations: 35.77 kB / 1.438 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.5818, allocations: 15.94 kB / 1.438 GB, free: 12.91 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.582, allocations: 149.7 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.582, allocations: 39.83 kB / 1.438 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.5825, allocations: 208.3 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5825, allocations: 3.984 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5825, allocations: 0 / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5825, allocations: 4 kB / 1.438 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5836, allocations: 0.6318 MB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5836, allocations: 4 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.5838, allocations: 35.97 kB / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.5838, allocations: 7.938 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5838, allocations: 4 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.5838, allocations: 3.938 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5838, allocations: 4 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.5846, allocations: 436.1 kB / 1.439 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5847, allocations: 47.77 kB / 1.439 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.5847, allocations: 8 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5849, allocations: 7.984 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.5849, allocations: 19.92 kB / 1.439 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5849, allocations: 4 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002396/0.5852, allocations: 227 kB / 1.439 GB, free: 10.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5852, allocations: 0 / 1.439 GB, free: 10.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003886/0.5856, allocations: 84 kB / 1.439 GB, free: 10.88 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.001231/0.5868, allocations: 1.015 MB / 1.44 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.5872, allocations: 167.8 kB / 1.441 GB, free: 9.652 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5872, allocations: 0 / 1.441 GB, free: 9.652 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5874, allocations: 83.88 kB / 1.441 GB, free: 9.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.5883, allocations: 175.4 kB / 1.441 GB, free: 9.402 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.5924, allocations: 2.91 MB / 1.444 GB, free: 6.344 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.5926, allocations: 171.2 kB / 1.444 GB, free: 6.156 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.5928, allocations: 62.94 kB / 1.444 GB, free: 6.094 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.593, allocations: 91.41 kB / 1.444 GB, free: 6.004 MB / 1.139 GB Notification: Performance of SimCode: time 6.81e-07/0.593, allocations: 0 / 1.444 GB, free: 6.004 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.636, allocations: 9.978 MB / 1.454 GB, free: 12.34 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.52, allocations: 12.03 kB / 1.454 GB, free: 12.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.298127993941307]