Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.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.001284/0.001284, 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.001357/0.001357, allocations: 196.6 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.542/1.542, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.893/2.893, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 71.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9615, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2028/1.164, allocations: 168.1 MB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003032/1.167, allocations: 1.57 MB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/1.168, allocations: 11.94 kB / 1.44 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/1.168, allocations: 150.8 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/1.17, allocations: 0.7429 MB / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/1.172, allocations: 0.6189 MB / 1.441 GB, free: 8.707 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001019/1.173, allocations: 0.7215 MB / 1.442 GB, free: 7.98 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/1.173, allocations: 192.9 kB / 1.442 GB, free: 7.797 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/1.174, allocations: 354.7 kB / 1.443 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/1.174, allocations: 247 kB / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/1.174, allocations: 24 kB / 1.443 GB, free: 7.184 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/1.176, allocations: 0.9195 MB / 1.444 GB, free: 6.262 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/1.176, allocations: 111.6 kB / 1.444 GB, free: 6.152 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/1.176, allocations: 175.1 kB / 1.444 GB, free: 5.98 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/1.177, allocations: 0.7348 MB / 1.445 GB, free: 5.246 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.177, allocations: 4 kB / 1.445 GB, free: 5.242 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.483e-06/1.177, allocations: 0 / 1.445 GB, free: 5.242 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.273e-06/1.177, allocations: 0 / 1.445 GB, free: 5.242 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001099/1.178, allocations: 0.6693 MB / 1.445 GB, free: 4.523 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.178, allocations: 8.031 kB / 1.445 GB, free: 4.516 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.18, allocations: 167.6 kB / 1.445 GB, free: 4.352 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/1.18, allocations: 326.8 kB / 1.446 GB, free: 3.992 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/1.18, allocations: 16.56 kB / 1.446 GB, free: 3.977 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/1.18, allocations: 27.94 kB / 1.446 GB, free: 3.949 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/1.181, allocations: 285.8 kB / 1.446 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.181, allocations: 0 / 1.446 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/1.181, allocations: 12 kB / 1.446 GB, free: 3.637 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.181, allocations: 4 kB / 1.446 GB, free: 3.633 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/1.181, allocations: 204.9 kB / 1.446 GB, free: 3.434 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.001551/1.183, allocations: 1.227 MB / 1.448 GB, free: 2.102 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/1.183, allocations: 142.4 kB / 1.448 GB, free: 1.953 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.183, allocations: 88.8 kB / 1.448 GB, free: 1.863 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/1.184, allocations: 307.5 kB / 1.448 GB, free: 1.508 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.184, allocations: 38.56 kB / 1.448 GB, free: 1.461 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/1.184, allocations: 0 / 1.448 GB, free: 1.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008116/1.185, allocations: 307.3 kB / 1.448 GB, free: 1.156 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.185, allocations: 51.41 kB / 1.448 GB, free: 1.094 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/1.185, allocations: 320.5 kB / 1.449 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/1.185, allocations: 29.7 kB / 1.449 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/1.185, allocations: 188.3 kB / 1.449 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/1.185, allocations: 59.48 kB / 1.449 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/1.186, allocations: 49.7 kB / 1.449 GB, free: 448 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.186, allocations: 346.8 kB / 1.449 GB, free: 92 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.186, allocations: 63.95 kB / 1.449 GB, free: 28 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.186, allocations: 125.1 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/1.187, allocations: 196.9 kB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.187, allocations: 3.938 kB / 1.45 GB, free: 15.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00053/1.187, allocations: 255.9 kB / 1.45 GB, free: 15.42 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.187, allocations: 8 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.187, allocations: 0 / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.187, allocations: 4 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.187, allocations: 47.97 kB / 1.45 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.187, allocations: 3.938 kB / 1.45 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.188, allocations: 31.77 kB / 1.45 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.188, allocations: 12 kB / 1.45 GB, free: 15.31 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 (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.0001758/1.188, allocations: 153.8 kB / 1.45 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/1.188, allocations: 35.77 kB / 1.45 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/1.188, allocations: 238.6 kB / 1.45 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.188, allocations: 0 / 1.45 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.188, allocations: 144 / 1.45 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.188, allocations: 3.984 kB / 1.45 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.19, allocations: 0.7068 MB / 1.451 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.19, allocations: 4 kB / 1.451 GB, free: 14.08 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.19, allocations: 36.19 kB / 1.451 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.19, allocations: 4 kB / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/1.19, allocations: 8 kB / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.19, allocations: 11.97 kB / 1.451 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.19, allocations: 7.938 kB / 1.451 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/1.191, allocations: 453.1 kB / 1.452 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/1.191, allocations: 124.9 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/1.191, allocations: 8 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/1.191, allocations: 16 kB / 1.452 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/1.191, allocations: 11.98 kB / 1.452 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/1.191, allocations: 11.98 kB / 1.452 GB, free: 13.35 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002693/1.191, allocations: 231 kB / 1.452 GB, free: 13.12 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.191, allocations: 0 / 1.452 GB, free: 13.12 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004141/1.192, allocations: 83.83 kB / 1.452 GB, free: 13.04 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 (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.0004967/1.192, allocations: 162.3 kB / 1.452 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004724/1.193, allocations: 175.8 kB / 1.452 GB, free: 12.71 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.193, allocations: 0 / 1.452 GB, free: 12.71 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/1.193, allocations: 96.06 kB / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000919/1.194, allocations: 168.8 kB / 1.453 GB, free: 12.46 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/1.195, allocations: 0.6478 MB / 1.453 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/1.196, allocations: 0.7873 MB / 1.454 GB, free: 10.95 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001826/1.196, allocations: 62.92 kB / 1.454 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/1.196, allocations: 27.44 kB / 1.454 GB, free: 10.86 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/1.196, allocations: 0 / 1.454 GB, free: 10.86 MB / 1.154 GB Notification: Performance of Templates: time 0.01198/1.208, allocations: 5.937 MB / 1.46 GB, free: 5.012 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.494618511293083]