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.001372/0.001372, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001493/0.001493, allocations: 215.2 kB / 23.01 MB, free: 4.566 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.735/2.735, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.002079/0.002079, allocations: 65.84 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2202/0.5875, allocations: 171 MB / 1.452 GB, free: 15.62 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.5906, allocations: 1.558 MB / 1.453 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.591, allocations: 15.81 kB / 1.453 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.5916, allocations: 154.9 kB / 1.453 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.5936, allocations: 0.739 MB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.5953, allocations: 0.6371 MB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.5963, allocations: 0.7129 MB / 1.455 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.5967, allocations: 190.9 kB / 1.456 GB, free: 11.6 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.5973, allocations: 354.7 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.5977, allocations: 227.1 kB / 1.456 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.5977, allocations: 24 kB / 1.456 GB, free: 11.01 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.5995, allocations: 0.9429 MB / 1.457 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.5997, allocations: 115.6 kB / 1.457 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.5998, allocations: 163.2 kB / 1.457 GB, free: 9.789 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.601, allocations: 0.7242 MB / 1.458 GB, free: 9.062 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.601, allocations: 3.938 kB / 1.458 GB, free: 9.059 MB / 1.154 GB Notification: Performance of FrontEnd: time 8.52e-07/0.601, allocations: 0 / 1.458 GB, free: 9.059 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.601, allocations: 4 kB / 1.458 GB, free: 9.055 MB / 1.154 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.0009538/0.602, allocations: 0.5862 MB / 1.459 GB, free: 8.438 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.602, allocations: 12.03 kB / 1.459 GB, free: 8.426 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.6031, allocations: 155.6 kB / 1.459 GB, free: 8.273 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.6036, allocations: 252.1 kB / 1.459 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6037, allocations: 16.44 kB / 1.459 GB, free: 7.988 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.6037, allocations: 24 kB / 1.459 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.6043, allocations: 295.3 kB / 1.459 GB, free: 7.652 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6043, allocations: 0 / 1.459 GB, free: 7.652 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.6043, allocations: 11.98 kB / 1.459 GB, free: 7.641 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.6043, allocations: 8 kB / 1.459 GB, free: 7.633 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.6047, allocations: 187.8 kB / 1.459 GB, free: 7.449 MB / 1.154 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.001543/0.6063, allocations: 1.179 MB / 1.461 GB, free: 6.176 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.6066, allocations: 126.5 kB / 1.461 GB, free: 6.043 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.6067, allocations: 88.8 kB / 1.461 GB, free: 5.953 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.6072, allocations: 76.19 kB / 1.461 GB, free: 5.879 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.6073, allocations: 38.5 kB / 1.461 GB, free: 5.832 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6073, allocations: 0 / 1.461 GB, free: 5.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0008331/0.6081, allocations: 288.4 kB / 1.461 GB, free: 5.547 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.6082, allocations: 55.41 kB / 1.461 GB, free: 5.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.6085, allocations: 320.5 kB / 1.462 GB, free: 5.16 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.6086, allocations: 25.7 kB / 1.462 GB, free: 5.129 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.6087, allocations: 180.3 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.6088, allocations: 55.53 kB / 1.462 GB, free: 4.895 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.6088, allocations: 45.66 kB / 1.462 GB, free: 4.844 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.609, allocations: 338.8 kB / 1.462 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6092, allocations: 67.95 kB / 1.462 GB, free: 4.438 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6094, allocations: 127.3 kB / 1.462 GB, free: 4.297 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.6098, allocations: 189 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6098, allocations: 0 / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004716/0.6102, allocations: 246.3 kB / 1.463 GB, free: 3.848 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6103, allocations: 4 kB / 1.463 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6103, allocations: 4 kB / 1.463 GB, free: 3.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6103, allocations: 0 / 1.463 GB, free: 3.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.6105, allocations: 56 kB / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.6105, allocations: 0 / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.6107, allocations: 27.81 kB / 1.463 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.6107, allocations: 12 kB / 1.463 GB, free: 3.746 MB / 1.154 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.000146/0.6109, allocations: 145.8 kB / 1.463 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.6109, allocations: 31.81 kB / 1.463 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.6114, allocations: 224.2 kB / 1.463 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6114, allocations: 0 / 1.463 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6114, allocations: 7.938 kB / 1.463 GB, free: 3.324 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.6114, allocations: 3.984 kB / 1.463 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6126, allocations: 0.6592 MB / 1.464 GB, free: 2.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6126, allocations: 0 / 1.464 GB, free: 2.59 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6127, allocations: 35.92 kB / 1.464 GB, free: 2.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6127, allocations: 3.938 kB / 1.464 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.6128, allocations: 8 kB / 1.464 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6128, allocations: 4 kB / 1.464 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6128, allocations: 4.219 kB / 1.464 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.6135, allocations: 433.2 kB / 1.464 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6136, allocations: 47.77 kB / 1.464 GB, free: 2.027 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.6136, allocations: 11.92 kB / 1.464 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.6138, allocations: 8 kB / 1.464 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.6138, allocations: 15.91 kB / 1.464 GB, free: 1.992 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.6138, allocations: 16.06 kB / 1.464 GB, free: 1.977 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00024/0.6141, allocations: 223.1 kB / 1.465 GB, free: 1.762 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6141, allocations: 0 / 1.465 GB, free: 1.762 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000397/0.6145, allocations: 79.88 kB / 1.465 GB, free: 1.684 MB / 1.154 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.0002761/0.6148, allocations: 151.5 kB / 1.465 GB, free: 1.523 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.6152, allocations: 167.8 kB / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6152, allocations: 3.938 kB / 1.465 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6154, allocations: 79.89 kB / 1.465 GB, free: 1.277 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.6163, allocations: 172.5 kB / 1.465 GB, free: 1.117 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6174, allocations: 0.6425 MB / 1.466 GB, free: 428 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.6178, allocations: 0.7794 MB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.6179, allocations: 31.42 kB / 1.467 GB, free: 15.58 MB / 1.17 GB Notification: Performance of SimCode: time 4.71e-07/0.6179, allocations: 4 kB / 1.467 GB, free: 15.58 MB / 1.17 GB Notification: Performance of Templates: time 0.008402/0.6263, allocations: 4.838 MB / 1.471 GB, free: 10.79 MB / 1.17 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/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: 12.441897480020998]