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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.955/2.955, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2473/1.289, allocations: 168.1 MB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003561/1.293, allocations: 1.566 MB / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/1.294, allocations: 7.938 kB / 1.44 GB, free: 10.13 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007551/1.294, allocations: 154.8 kB / 1.44 GB, free: 9.977 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003349/1.298, allocations: 0.7468 MB / 1.441 GB, free: 9.227 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.3, allocations: 0.616 MB / 1.441 GB, free: 8.613 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001779/1.302, allocations: 0.7051 MB / 1.442 GB, free: 7.902 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006673/1.303, allocations: 184.9 kB / 1.442 GB, free: 7.727 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/1.304, allocations: 342.7 kB / 1.442 GB, free: 7.391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/1.305, allocations: 239 kB / 1.443 GB, free: 7.156 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-05/1.305, allocations: 24 kB / 1.443 GB, free: 7.133 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/1.307, allocations: 0.9234 MB / 1.444 GB, free: 6.207 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/1.307, allocations: 111.6 kB / 1.444 GB, free: 6.098 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/1.308, allocations: 163.2 kB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/1.31, allocations: 0.7231 MB / 1.445 GB, free: 5.215 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.31, allocations: 0 / 1.445 GB, free: 5.215 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.088e-06/1.31, allocations: 4 kB / 1.445 GB, free: 5.211 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.31, allocations: 0 / 1.445 GB, free: 5.211 MB / 1.139 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.00146/1.311, allocations: 0.6576 MB / 1.445 GB, free: 4.504 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.311, allocations: 8.031 kB / 1.445 GB, free: 4.496 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/1.312, allocations: 155.6 kB / 1.445 GB, free: 4.344 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/1.313, allocations: 329.8 kB / 1.446 GB, free: 3.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.313, allocations: 16.44 kB / 1.446 GB, free: 3.965 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/1.313, allocations: 24 kB / 1.446 GB, free: 3.941 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/1.314, allocations: 275.5 kB / 1.446 GB, free: 3.652 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.314, allocations: 4 kB / 1.446 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/1.314, allocations: 8 kB / 1.446 GB, free: 3.641 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.314, allocations: 11.94 kB / 1.446 GB, free: 3.629 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/1.314, allocations: 195.8 kB / 1.446 GB, free: 3.438 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.001798/1.316, allocations: 1.202 MB / 1.447 GB, free: 2.133 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/1.317, allocations: 134.5 kB / 1.447 GB, free: 1.992 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.317, allocations: 88.73 kB / 1.448 GB, free: 1.902 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/1.317, allocations: 299.2 kB / 1.448 GB, free: 1.555 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.317, allocations: 46.78 kB / 1.448 GB, free: 1.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/1.317, allocations: 0 / 1.448 GB, free: 1.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0009023/1.318, allocations: 277.3 kB / 1.448 GB, free: 1.223 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.318, allocations: 51.41 kB / 1.448 GB, free: 1.16 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/1.319, allocations: 316.5 kB / 1.448 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.319, allocations: 33.7 kB / 1.449 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.319, allocations: 176.4 kB / 1.449 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/1.319, allocations: 67.45 kB / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/1.319, allocations: 41.66 kB / 1.449 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002357/1.319, allocations: 342.8 kB / 1.449 GB, free: 176 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/1.32, allocations: 67.89 kB / 1.449 GB, free: 108 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/1.32, allocations: 125 kB / 1.449 GB, free: 15.96 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/1.32, allocations: 185 kB / 1.449 GB, free: 15.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.32, allocations: 4 kB / 1.449 GB, free: 15.76 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005446/1.321, allocations: 243 kB / 1.45 GB, free: 15.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.321, allocations: 4 kB / 1.45 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.321, allocations: 4 kB / 1.45 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.321, allocations: 0 / 1.45 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/1.321, allocations: 43.86 kB / 1.45 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.321, allocations: 7.984 kB / 1.45 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.321, allocations: 35.88 kB / 1.45 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.321, allocations: 11.98 kB / 1.45 GB, free: 15.41 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.0001996/1.322, allocations: 149.7 kB / 1.45 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/1.322, allocations: 27.81 kB / 1.45 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/1.322, allocations: 224.3 kB / 1.45 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.322, allocations: 0 / 1.45 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.322, allocations: 4 kB / 1.45 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.322, allocations: 0 / 1.45 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.323, allocations: 0.6873 MB / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.323, allocations: 0 / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/1.324, allocations: 35.97 kB / 1.451 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/1.324, allocations: 7.938 kB / 1.451 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/1.324, allocations: 4 kB / 1.451 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.324, allocations: 3.938 kB / 1.451 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.324, allocations: 4 kB / 1.451 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/1.325, allocations: 436.1 kB / 1.451 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.325, allocations: 120.8 kB / 1.451 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/1.325, allocations: 11.94 kB / 1.451 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/1.325, allocations: 11.98 kB / 1.451 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/1.325, allocations: 11.98 kB / 1.452 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/1.325, allocations: 8 kB / 1.452 GB, free: 13.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002592/1.325, allocations: 227.1 kB / 1.452 GB, free: 13.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.325, allocations: 4 kB / 1.452 GB, free: 13.31 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004629/1.326, allocations: 75.89 kB / 1.452 GB, free: 13.24 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.0005126/1.326, allocations: 180.6 kB / 1.452 GB, free: 13.06 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004972/1.327, allocations: 163.8 kB / 1.452 GB, free: 12.9 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.327, allocations: 0 / 1.452 GB, free: 12.9 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/1.327, allocations: 91.81 kB / 1.452 GB, free: 12.81 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/1.328, allocations: 175.4 kB / 1.452 GB, free: 12.65 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.329, allocations: 0.6087 MB / 1.453 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.33, allocations: 0.7834 MB / 1.454 GB, free: 11.18 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002264/1.33, allocations: 74.86 kB / 1.454 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/1.33, allocations: 23.44 kB / 1.454 GB, free: 11.08 MB / 1.154 GB Notification: Performance of SimCode: time 4.61e-07/1.33, allocations: 0 / 1.454 GB, free: 11.08 MB / 1.154 GB Notification: Performance of Templates: time 0.01375/1.344, allocations: 5.849 MB / 1.46 GB, free: 5.324 MB / 1.154 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 -s cvode -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_2/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.68322314787656]