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.001985/0.001985, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00262/0.00262, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.564/1.564, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.275/3.275, allocations: 0.4899 GB / 0.7916 GB, free: 33.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.002058/0.002058, allocations: 71.64 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4166, allocations: 176.1 MB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2318/0.6484, allocations: 170.9 MB / 1.488 GB, free: 7.227 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003693/0.6521, allocations: 1.56 MB / 1.49 GB, free: 5.664 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.6525, allocations: 19.81 kB / 1.49 GB, free: 5.645 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.6531, allocations: 150.8 kB / 1.49 GB, free: 5.496 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.6554, allocations: 0.7351 MB / 1.491 GB, free: 4.758 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.6572, allocations: 0.6153 MB / 1.491 GB, free: 4.145 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.6582, allocations: 0.7059 MB / 1.492 GB, free: 3.438 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.6587, allocations: 216.8 kB / 1.492 GB, free: 3.219 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.6599, allocations: 0.506 MB / 1.493 GB, free: 2.711 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.6602, allocations: 235 kB / 1.493 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.6603, allocations: 28 kB / 1.493 GB, free: 2.453 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.662, allocations: 0.9118 MB / 1.494 GB, free: 1.539 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.6622, allocations: 119.6 kB / 1.494 GB, free: 1.422 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.6624, allocations: 167.2 kB / 1.494 GB, free: 1.258 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.6636, allocations: 0.732 MB / 1.495 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.6636, allocations: 0 / 1.495 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6636, allocations: 3.938 kB / 1.495 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6637, allocations: 3.938 kB / 1.495 GB, free: 0.5156 MB / 1.186 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.001175/0.6648, allocations: 0.6771 MB / 1.495 GB, free: 15.79 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.6649, allocations: 15.98 kB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.6661, allocations: 155.6 kB / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.6669, allocations: 334.8 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.6669, allocations: 16.56 kB / 1.496 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.667, allocations: 27.94 kB / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.6676, allocations: 273.9 kB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6677, allocations: 8 kB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.6677, allocations: 8 kB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.6677, allocations: 8 kB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.6682, allocations: 204.9 kB / 1.496 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.6699, allocations: 1.223 MB / 1.498 GB, free: 13.37 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.6702, allocations: 150.3 kB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.6704, allocations: 96.75 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.671, allocations: 299.2 kB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.6711, allocations: 38.56 kB / 1.498 GB, free: 12.72 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.6711, allocations: 0 / 1.498 GB, free: 12.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0008876/0.6719, allocations: 289.6 kB / 1.498 GB, free: 12.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.672, allocations: 51.41 kB / 1.498 GB, free: 12.37 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.6724, allocations: 320.5 kB / 1.499 GB, free: 12.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.6724, allocations: 37.69 kB / 1.499 GB, free: 12.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6727, allocations: 188.3 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.6727, allocations: 63.47 kB / 1.499 GB, free: 11.76 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.6728, allocations: 45.66 kB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002914/0.6731, allocations: 338.8 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6733, allocations: 75.89 kB / 1.499 GB, free: 11.29 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.6736, allocations: 129.1 kB / 1.5 GB, free: 11.15 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.6739, allocations: 189 kB / 1.5 GB, free: 10.95 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.674, allocations: 7.938 kB / 1.5 GB, free: 10.94 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005861/0.6745, allocations: 259.7 kB / 1.5 GB, free: 10.68 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6746, allocations: 5.875 kB / 1.5 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6746, allocations: 4 kB / 1.5 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6746, allocations: 3.984 kB / 1.5 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.6748, allocations: 43.92 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6748, allocations: 4 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.675, allocations: 31.92 kB / 1.5 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.675, allocations: 8 kB / 1.5 GB, free: 10.58 MB / 1.201 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.0001712/0.6752, allocations: 161.7 kB / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.6753, allocations: 27.81 kB / 1.5 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.6758, allocations: 224.7 kB / 1.5 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6758, allocations: 7.938 kB / 1.5 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6758, allocations: 8.078 kB / 1.5 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6758, allocations: 3.984 kB / 1.5 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.677, allocations: 0.7031 MB / 1.501 GB, free: 9.355 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.677, allocations: 0 / 1.501 GB, free: 9.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.6772, allocations: 39.91 kB / 1.501 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6772, allocations: 0 / 1.501 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.6773, allocations: 8 kB / 1.501 GB, free: 9.309 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.6773, allocations: 7.938 kB / 1.501 GB, free: 9.301 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6773, allocations: 0 / 1.501 GB, free: 9.301 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.6781, allocations: 466.5 kB / 1.502 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.6782, allocations: 124.8 kB / 1.502 GB, free: 8.668 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.6782, allocations: 8 kB / 1.502 GB, free: 8.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6784, allocations: 15.92 kB / 1.502 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.6785, allocations: 15.92 kB / 1.502 GB, free: 8.629 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.6785, allocations: 8 kB / 1.502 GB, free: 8.621 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003336/0.6788, allocations: 227 kB / 1.502 GB, free: 8.398 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6788, allocations: 4.062 kB / 1.502 GB, free: 8.395 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000489/0.6793, allocations: 83.94 kB / 1.502 GB, free: 8.312 MB / 1.201 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.0003245/0.6796, allocations: 151.1 kB / 1.502 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.6801, allocations: 179.7 kB / 1.502 GB, free: 7.977 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6801, allocations: 4.188 kB / 1.502 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.6804, allocations: 83.83 kB / 1.503 GB, free: 7.891 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000978/0.6813, allocations: 169.6 kB / 1.503 GB, free: 7.73 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.6825, allocations: 0.641 MB / 1.503 GB, free: 7.043 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.6831, allocations: 0.7834 MB / 1.504 GB, free: 6.234 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.6833, allocations: 66.92 kB / 1.504 GB, free: 6.168 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.6833, allocations: 23.44 kB / 1.504 GB, free: 6.145 MB / 1.201 GB Notification: Performance of SimCode: time 3.71e-07/0.6833, allocations: 0 / 1.504 GB, free: 6.145 MB / 1.201 GB Notification: Performance of Templates: time 0.01289/0.6962, allocations: 5.89 MB / 1.51 GB, free: 360 kB / 1.201 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: 9.74813241418451]