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.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001634/0.001634, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.82 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.892/2.892, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [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.002186/0.002186, allocations: 72.97 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3602, allocations: 169.9 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2246/0.5848, allocations: 147.6 MB / 1.427 GB, free: 7.73 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.5881, allocations: 1.473 MB / 1.429 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.5884, allocations: 19.88 kB / 1.429 GB, free: 6.234 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.589, allocations: 158.8 kB / 1.429 GB, free: 6.078 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.5909, allocations: 0.6962 MB / 1.429 GB, free: 5.379 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.5926, allocations: 0.6228 MB / 1.43 GB, free: 4.758 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009666/0.5936, allocations: 0.7129 MB / 1.431 GB, free: 4.039 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.594, allocations: 185 kB / 1.431 GB, free: 3.855 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.5946, allocations: 350.8 kB / 1.431 GB, free: 3.512 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.5949, allocations: 223 kB / 1.432 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.595, allocations: 24 kB / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.5964, allocations: 0.7167 MB / 1.432 GB, free: 2.551 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.5965, allocations: 115.6 kB / 1.432 GB, free: 2.438 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.5967, allocations: 139.4 kB / 1.432 GB, free: 2.301 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.5978, allocations: 0.693 MB / 1.433 GB, free: 1.605 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5978, allocations: 4 kB / 1.433 GB, free: 1.602 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5978, allocations: 0 / 1.433 GB, free: 1.602 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.5978, allocations: 0 / 1.433 GB, free: 1.602 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.001031/0.5989, allocations: 0.5823 MB / 1.434 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5989, allocations: 8.031 kB / 1.434 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6, allocations: 163.6 kB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.6006, allocations: 248.1 kB / 1.434 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.6007, allocations: 24.38 kB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.6007, allocations: 27.94 kB / 1.434 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.6013, allocations: 283.3 kB / 1.434 GB, free: 208 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6013, allocations: 0 / 1.434 GB, free: 208 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.6013, allocations: 15.98 kB / 1.434 GB, free: 192 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6013, allocations: 4 kB / 1.434 GB, free: 188 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.6018, allocations: 195.9 kB / 1.435 GB, free: 15.99 MB / 1.139 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.001503/0.6033, allocations: 0.9154 MB / 1.436 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.6036, allocations: 130.5 kB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.6038, allocations: 84.8 kB / 1.436 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/0.6043, allocations: 67.92 kB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/0.6044, allocations: 46.5 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.6044, allocations: 0 / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008564/0.6052, allocations: 276.1 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.6053, allocations: 55.41 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.6056, allocations: 245.9 kB / 1.436 GB, free: 14.1 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.6056, allocations: 29.7 kB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.6058, allocations: 188.2 kB / 1.437 GB, free: 13.88 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.6058, allocations: 59.53 kB / 1.437 GB, free: 13.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6059, allocations: 45.66 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.6061, allocations: 334.8 kB / 1.437 GB, free: 13.43 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6063, allocations: 63.95 kB / 1.437 GB, free: 13.37 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.6066, allocations: 206.1 kB / 1.437 GB, free: 13.13 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.607, allocations: 195.1 kB / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.607, allocations: 0 / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005018/0.6075, allocations: 233.4 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.6075, allocations: 8 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6075, allocations: 0 / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6076, allocations: 4 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.6078, allocations: 47.91 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6078, allocations: 4.094 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.608, allocations: 27.88 kB / 1.438 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.608, allocations: 4 kB / 1.438 GB, free: 12.6 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.0001835/0.6082, allocations: 153.7 kB / 1.438 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.6083, allocations: 27.86 kB / 1.438 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.6088, allocations: 215.2 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6088, allocations: 3.938 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6088, allocations: 4 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6088, allocations: 0 / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6099, allocations: 0.5973 MB / 1.439 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6099, allocations: 3.938 kB / 1.439 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.6101, allocations: 28.2 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6101, allocations: 11.94 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.6101, allocations: 8 kB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.6101, allocations: 7.922 kB / 1.439 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6101, allocations: 7.938 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.6109, allocations: 421.2 kB / 1.439 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.611, allocations: 35.83 kB / 1.439 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.611, allocations: 8.062 kB / 1.439 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6112, allocations: 11.94 kB / 1.439 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.6112, allocations: 23.91 kB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.6112, allocations: 4 kB / 1.439 GB, free: 10.93 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001871/0.6114, allocations: 181.2 kB / 1.439 GB, free: 10.76 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6114, allocations: 0 / 1.439 GB, free: 10.76 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004286/0.6119, allocations: 83.83 kB / 1.44 GB, free: 10.68 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.0003277/0.6122, allocations: 147.1 kB / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.6127, allocations: 177.2 kB / 1.44 GB, free: 10.35 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6127, allocations: 0 / 1.44 GB, free: 10.35 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6129, allocations: 75.89 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.6136, allocations: 144.1 kB / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.6148, allocations: 0.5901 MB / 1.441 GB, free: 9.504 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.615, allocations: 166.8 kB / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.6151, allocations: 58.23 kB / 1.441 GB, free: 9.266 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.6152, allocations: 27.44 kB / 1.441 GB, free: 9.238 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/0.6152, allocations: 0 / 1.441 GB, free: 9.238 MB / 1.139 GB Notification: Performance of Templates: time 0.01141/0.6266, allocations: 5.202 MB / 1.446 GB, free: 4.172 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.855322564020753]