Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001741/0.001741, 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.002304/0.002304, allocations: 214 kB / 22.25 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.496/3.496, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [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.003559/0.003559, allocations: 67.12 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4296, allocations: 176.1 MB / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.202/0.6316, allocations: 147.7 MB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.6348, allocations: 1.5 MB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.6352, allocations: 19.81 kB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.6358, allocations: 146.9 kB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.6378, allocations: 0.7118 MB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.6395, allocations: 0.623 MB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.6405, allocations: 0.7215 MB / 1.473 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.6409, allocations: 189 kB / 1.474 GB, free: 9.637 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.6421, allocations: 0.5177 MB / 1.474 GB, free: 9.117 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.6425, allocations: 227 kB / 1.474 GB, free: 8.895 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.6425, allocations: 24 kB / 1.474 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.6439, allocations: 0.7089 MB / 1.475 GB, free: 8.16 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.644, allocations: 115.6 kB / 1.475 GB, free: 8.047 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.6442, allocations: 139.4 kB / 1.475 GB, free: 7.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.6455, allocations: 0.7124 MB / 1.476 GB, free: 7.195 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6455, allocations: 0 / 1.476 GB, free: 7.195 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6455, allocations: 0 / 1.476 GB, free: 7.195 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.6455, allocations: 0 / 1.476 GB, free: 7.195 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001102/0.6466, allocations: 0.5901 MB / 1.477 GB, free: 6.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6466, allocations: 12.03 kB / 1.477 GB, free: 6.559 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6478, allocations: 159.5 kB / 1.477 GB, free: 6.402 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.6484, allocations: 272.4 kB / 1.477 GB, free: 6.113 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.6484, allocations: 20.5 kB / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.6485, allocations: 19.94 kB / 1.477 GB, free: 6.074 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.649, allocations: 297 kB / 1.477 GB, free: 5.762 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.649, allocations: 7.938 kB / 1.477 GB, free: 5.754 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.6491, allocations: 4 kB / 1.477 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6491, allocations: 8 kB / 1.477 GB, free: 5.742 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.6495, allocations: 200.9 kB / 1.477 GB, free: 5.547 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.651, allocations: 0.9329 MB / 1.478 GB, free: 4.566 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.6513, allocations: 134.5 kB / 1.479 GB, free: 4.426 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.6515, allocations: 96.73 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/0.6519, allocations: 75.91 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.652, allocations: 38.56 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.652, allocations: 0 / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0008256/0.6528, allocations: 291.2 kB / 1.479 GB, free: 3.918 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.6529, allocations: 55.41 kB / 1.479 GB, free: 3.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.6531, allocations: 256.2 kB / 1.479 GB, free: 3.59 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.6532, allocations: 37.7 kB / 1.479 GB, free: 3.547 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.6533, allocations: 184.2 kB / 1.479 GB, free: 3.363 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.6534, allocations: 67.42 kB / 1.48 GB, free: 3.297 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.6534, allocations: 45.7 kB / 1.48 GB, free: 3.246 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6536, allocations: 334.8 kB / 1.48 GB, free: 2.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.6538, allocations: 67.95 kB / 1.48 GB, free: 2.844 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.6541, allocations: 200 kB / 1.48 GB, free: 2.613 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.6545, allocations: 204.9 kB / 1.48 GB, free: 2.395 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6545, allocations: 0 / 1.48 GB, free: 2.395 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005058/0.655, allocations: 255.3 kB / 1.481 GB, free: 2.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.655, allocations: 4 kB / 1.481 GB, free: 2.137 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.655, allocations: 4 kB / 1.481 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.655, allocations: 96 / 1.481 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.6552, allocations: 47.97 kB / 1.481 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6552, allocations: 11.88 kB / 1.481 GB, free: 2.074 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.6554, allocations: 27.83 kB / 1.481 GB, free: 2.047 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.6554, allocations: 8 kB / 1.481 GB, free: 2.039 MB / 1.17 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 (24): * Single equations (assignments): 24 * 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.0001613/0.6556, allocations: 145.8 kB / 1.481 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.6557, allocations: 27.8 kB / 1.481 GB, free: 1.859 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.6562, allocations: 225.1 kB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6562, allocations: 7.984 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6562, allocations: 0 / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6562, allocations: 0 / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.6574, allocations: 0.6284 MB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6574, allocations: 224 / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6575, allocations: 35.98 kB / 1.482 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.6575, allocations: 4 kB / 1.482 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.6576, allocations: 8 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.6576, allocations: 11.92 kB / 1.482 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.6576, allocations: 7.984 kB / 1.482 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.6583, allocations: 446.7 kB / 1.482 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.6585, allocations: 47.88 kB / 1.482 GB, free: 360 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.6585, allocations: 4 kB / 1.482 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6587, allocations: 11.98 kB / 1.482 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.6588, allocations: 19.92 kB / 1.482 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6588, allocations: 4 kB / 1.482 GB, free: 320 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002041/0.659, allocations: 183.1 kB / 1.482 GB, free: 136 kB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.659, allocations: 4 kB / 1.482 GB, free: 132 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.000429/0.6594, allocations: 87.83 kB / 1.483 GB, free: 44 kB / 1.17 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 (17): * Single equations (assignments): 17 * 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.000332/0.6597, allocations: 147.1 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.6602, allocations: 175.7 kB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6602, allocations: 0 / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6605, allocations: 95.81 kB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.6612, allocations: 113.9 kB / 1.483 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.6624, allocations: 0.6264 MB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.6626, allocations: 179.5 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.6628, allocations: 58.23 kB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.6629, allocations: 23.44 kB / 1.484 GB, free: 14.56 MB / 1.186 GB Notification: Performance of SimCode: time 3.71e-07/0.6629, allocations: 0 / 1.484 GB, free: 14.56 MB / 1.186 GB Notification: Performance of Templates: time 0.01209/0.675, allocations: 5.284 MB / 1.489 GB, free: 9.41 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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: 10.15673547796905]