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.001354/0.001354, allocations: 115.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.001526/0.001526, allocations: 194.3 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.477/1.477, 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.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] 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.002001/0.002001, allocations: 63.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7892, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1939/0.983, allocations: 168.1 MB / 1.438 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.986, allocations: 1.563 MB / 1.44 GB, free: 10.19 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.9863, allocations: 11.94 kB / 1.44 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.9868, allocations: 158.8 kB / 1.44 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.9886, allocations: 0.7429 MB / 1.441 GB, free: 9.277 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.9902, allocations: 0.6158 MB / 1.441 GB, free: 8.664 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.9911, allocations: 0.7215 MB / 1.442 GB, free: 7.938 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.9914, allocations: 192.8 kB / 1.442 GB, free: 7.754 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.9921, allocations: 354.6 kB / 1.443 GB, free: 7.406 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.9924, allocations: 239.1 kB / 1.443 GB, free: 7.172 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.9924, allocations: 24 kB / 1.443 GB, free: 7.148 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.994, allocations: 0.9234 MB / 1.444 GB, free: 6.223 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.9942, allocations: 115.6 kB / 1.444 GB, free: 6.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.9944, allocations: 175.1 kB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.9955, allocations: 0.7309 MB / 1.445 GB, free: 5.207 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9955, allocations: 0 / 1.445 GB, free: 5.207 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9955, allocations: 0 / 1.445 GB, free: 5.207 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9955, allocations: 0 / 1.445 GB, free: 5.207 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.001052/0.9965, allocations: 0.6809 MB / 1.445 GB, free: 4.477 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.9966, allocations: 12.03 kB / 1.445 GB, free: 4.465 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.9978, allocations: 159.5 kB / 1.445 GB, free: 4.309 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.9984, allocations: 326.9 kB / 1.446 GB, free: 3.949 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.9984, allocations: 20.56 kB / 1.446 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.9985, allocations: 27.94 kB / 1.446 GB, free: 3.902 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.999, allocations: 285.8 kB / 1.446 GB, free: 3.602 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.999, allocations: 0 / 1.446 GB, free: 3.602 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.9991, allocations: 16 kB / 1.446 GB, free: 3.586 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.9991, allocations: 8 kB / 1.446 GB, free: 3.578 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.9995, allocations: 196.9 kB / 1.446 GB, free: 3.387 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.001558/1.001, allocations: 1.227 MB / 1.448 GB, free: 2.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/1.001, allocations: 142.5 kB / 1.448 GB, free: 1.906 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/1.002, allocations: 90.83 kB / 1.448 GB, free: 1.816 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/1.002, allocations: 299.6 kB / 1.448 GB, free: 1.469 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.002, allocations: 42.55 kB / 1.448 GB, free: 1.418 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/1.002, allocations: 0 / 1.448 GB, free: 1.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008317/1.003, allocations: 297.1 kB / 1.448 GB, free: 1.121 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.003, allocations: 51.41 kB / 1.448 GB, free: 1.059 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/1.003, allocations: 324.5 kB / 1.449 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.003, allocations: 33.7 kB / 1.449 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/1.004, allocations: 188.3 kB / 1.449 GB, free: 0.5078 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/1.004, allocations: 63.47 kB / 1.449 GB, free: 456 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/1.004, allocations: 41.7 kB / 1.449 GB, free: 408 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.004, allocations: 342.8 kB / 1.449 GB, free: 56 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/1.004, allocations: 67.95 kB / 1.449 GB, free: 15.99 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/1.004, allocations: 125.1 kB / 1.45 GB, free: 15.85 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/1.005, allocations: 199.8 kB / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/1.005, allocations: 7.938 kB / 1.45 GB, free: 15.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005216/1.005, allocations: 249.2 kB / 1.45 GB, free: 15.38 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.005, allocations: 4 kB / 1.45 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.005, allocations: 4 kB / 1.45 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.005, allocations: 0 / 1.45 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.006, allocations: 51.91 kB / 1.45 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.006, allocations: 4 kB / 1.45 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/1.006, allocations: 35.86 kB / 1.45 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/1.006, allocations: 8 kB / 1.45 GB, free: 15.27 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.0001614/1.006, allocations: 161.7 kB / 1.45 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/1.006, allocations: 31.77 kB / 1.45 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/1.007, allocations: 226.8 kB / 1.45 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.007, allocations: 11.97 kB / 1.45 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.007, allocations: 8 kB / 1.45 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.007, allocations: 0 / 1.45 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/1.008, allocations: 0.7107 MB / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.008, allocations: 0 / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.008, allocations: 39.92 kB / 1.451 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.008, allocations: 0 / 1.451 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.008, allocations: 7.984 kB / 1.451 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.008, allocations: 7.938 kB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.008, allocations: 4 kB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/1.009, allocations: 457.3 kB / 1.452 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/1.009, allocations: 120.8 kB / 1.452 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/1.009, allocations: 7.984 kB / 1.452 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.009, allocations: 15.94 kB / 1.452 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/1.009, allocations: 11.98 kB / 1.452 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/1.009, allocations: 8 kB / 1.452 GB, free: 13.31 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002468/1.009, allocations: 231 kB / 1.452 GB, free: 13.09 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 8.062 kB / 1.452 GB, free: 13.08 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004131/1.01, allocations: 91.81 kB / 1.452 GB, free: 12.99 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.0004009/1.01, allocations: 158.6 kB / 1.452 GB, free: 12.83 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004794/1.011, allocations: 177.2 kB / 1.452 GB, free: 12.66 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.011, allocations: 0 / 1.452 GB, free: 12.66 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.011, allocations: 91.81 kB / 1.453 GB, free: 12.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/1.012, allocations: 171.3 kB / 1.453 GB, free: 12.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/1.013, allocations: 0.6409 MB / 1.453 GB, free: 11.72 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/1.013, allocations: 0.7794 MB / 1.454 GB, free: 10.91 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001939/1.014, allocations: 66.92 kB / 1.454 GB, free: 10.85 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/1.014, allocations: 31.42 kB / 1.454 GB, free: 10.82 MB / 1.154 GB Notification: Performance of SimCode: time 3.81e-07/1.014, allocations: 0 / 1.454 GB, free: 10.82 MB / 1.154 GB Notification: Performance of Templates: time 0.01168/1.025, allocations: 5.941 MB / 1.46 GB, free: 4.973 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 gbode -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.004509602673352]