Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008167/0.0008167, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007708/0.0007708, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8679/0.8679, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.762/1.762, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.993e-05, allocations: 2.281 kB / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6384/0.6384, allocations: 147.6 MB / 1.145 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.6407, allocations: 1.471 MB / 1.146 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.6411, allocations: 18.38 kB / 1.147 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.6415, allocations: 158.8 kB / 1.147 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.643, allocations: 0.7117 MB / 1.147 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.6443, allocations: 0.6565 MB / 1.148 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000835/0.6452, allocations: 0.7023 MB / 1.149 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.6455, allocations: 170.9 kB / 1.149 GB, free: 5.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.6465, allocations: 0.5987 MB / 1.149 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.6468, allocations: 198.1 kB / 1.15 GB, free: 5 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.6468, allocations: 26.88 kB / 1.15 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.648, allocations: 0.7169 MB / 1.15 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.6481, allocations: 114.5 kB / 1.15 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.6482, allocations: 126.3 kB / 1.151 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.6491, allocations: 0.7368 MB / 1.151 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6491, allocations: 0 / 1.151 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6491, allocations: 0 / 1.151 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.6492, allocations: 1.5 kB / 1.151 GB, free: 4.016 MB / 0.9948 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.000835/0.65, allocations: 0.5899 MB / 1.152 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.65, allocations: 9.156 kB / 1.152 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.6507, allocations: 155.5 kB / 1.152 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.6511, allocations: 260 kB / 1.152 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6511, allocations: 20.12 kB / 1.152 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.6511, allocations: 20.84 kB / 1.152 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.6515, allocations: 283 kB / 1.153 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6515, allocations: 3.938 kB / 1.153 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.6515, allocations: 10.84 kB / 1.153 GB, free: 3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.6515, allocations: 5.812 kB / 1.153 GB, free: 3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.6518, allocations: 200.1 kB / 1.153 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.6526, allocations: 0.9298 MB / 1.154 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.6528, allocations: 144.7 kB / 1.154 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6529, allocations: 91.14 kB / 1.154 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.6532, allocations: 75.77 kB / 1.154 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.6532, allocations: 41.45 kB / 1.154 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.6532, allocations: 0 / 1.154 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.000478/0.6537, allocations: 301.4 kB / 1.154 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6537, allocations: 51.41 kB / 1.154 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.6539, allocations: 247.7 kB / 1.155 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6539, allocations: 29.7 kB / 1.155 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.654, allocations: 191.5 kB / 1.155 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.654, allocations: 61.25 kB / 1.155 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.6541, allocations: 48.66 kB / 1.155 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.6542, allocations: 332.4 kB / 1.155 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.6543, allocations: 68.69 kB / 1.155 GB, free: 0.8594 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.6544, allocations: 210.4 kB / 1.156 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.6546, allocations: 194.6 kB / 1.156 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6546, allocations: 3.938 kB / 1.156 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000273/0.6549, allocations: 245.6 kB / 1.156 GB, free: 416 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6549, allocations: 9.281 kB / 1.156 GB, free: 416 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6549, allocations: 5.5 kB / 1.156 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.6549, allocations: 1.625 kB / 1.156 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6551, allocations: 42.72 kB / 1.156 GB, free: 404 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6551, allocations: 6.594 kB / 1.156 GB, free: 400 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.6552, allocations: 25.22 kB / 1.156 GB, free: 384 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.6552, allocations: 11.66 kB / 1.156 GB, free: 380 kB / 0.9948 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 9.926e-05/0.6553, allocations: 152 kB / 1.156 GB, free: 236 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.6553, allocations: 28.88 kB / 1.156 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.6557, allocations: 225.3 kB / 1.156 GB, free: 80 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6557, allocations: 0 / 1.156 GB, free: 80 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6557, allocations: 2.312 kB / 1.156 GB, free: 80 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6557, allocations: 3.984 kB / 1.156 GB, free: 76 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.6564, allocations: 0.6312 MB / 1.157 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6564, allocations: 0 / 1.157 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.6565, allocations: 30.77 kB / 1.157 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6565, allocations: 2.844 kB / 1.157 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6565, allocations: 16.81 kB / 1.157 GB, free: 15.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6565, allocations: 1.969 kB / 1.157 GB, free: 15.56 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6565, allocations: 7.188 kB / 1.157 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.6569, allocations: 442.8 kB / 1.158 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.6569, allocations: 47.38 kB / 1.158 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.657, allocations: 6.781 kB / 1.158 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.657, allocations: 5 kB / 1.158 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.6571, allocations: 24.22 kB / 1.158 GB, free: 15.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.6571, allocations: 4.844 kB / 1.158 GB, free: 15.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001008/0.6572, allocations: 180 kB / 1.158 GB, free: 15.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6572, allocations: 4.062 kB / 1.158 GB, free: 15.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002893/0.6575, allocations: 85.7 kB / 1.158 GB, free: 15.03 MB / 1.01 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.0002494/0.6577, allocations: 154.8 kB / 1.158 GB, free: 14.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.658, allocations: 181.6 kB / 1.158 GB, free: 14.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.658, allocations: 3.594 kB / 1.158 GB, free: 14.83 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6581, allocations: 91.77 kB / 1.158 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.6585, allocations: 108.2 kB / 1.158 GB, free: 14.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.6593, allocations: 0.5975 MB / 1.159 GB, free: 14.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.6594, allocations: 174.1 kB / 1.159 GB, free: 14.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.6594, allocations: 24.5 kB / 1.159 GB, free: 14.14 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.6594, allocations: 0 / 1.159 GB, free: 14.14 MB / 1.01 GB Notification: Performance of Templates: time 0.004867/0.6643, allocations: 4.421 MB / 1.163 GB, free: 11.17 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.682536142878234]