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.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.002426/0.002426, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002892/0.002892, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.631/1.631, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.937/2.937, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.444e-06/2.444e-06, allocations: 448 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.278e-05/4.523e-05, allocations: 8.922 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.237/0.237, allocations: 163.6 MB / 0.9462 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003473/0.2405, allocations: 1.589 MB / 0.9477 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.2408, allocations: 15.81 kB / 0.9478 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.2413, allocations: 150.9 kB / 0.9479 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.2432, allocations: 0.7267 MB / 0.9486 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.245, allocations: 0.6618 MB / 0.9493 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0009698/0.246, allocations: 0.7214 MB / 0.95 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.2464, allocations: 197.1 kB / 0.9501 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008593/0.2472, allocations: 454.6 kB / 0.9506 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2476, allocations: 207.4 kB / 0.9508 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.2476, allocations: 24 kB / 0.9508 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.249, allocations: 0.7281 MB / 0.9515 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.2492, allocations: 123.6 kB / 0.9516 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.2494, allocations: 123.7 kB / 0.9518 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.2506, allocations: 0.7439 MB / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2506, allocations: 0 / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2506, allocations: 0 / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2506, allocations: 0 / 0.9525 GB, free: 2.137 MB / 0.9011 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.001132/0.2518, allocations: 0.7131 MB / 0.9532 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2518, allocations: 8.031 kB / 0.9532 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.253, allocations: 211.1 kB / 0.9534 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.2536, allocations: 279.3 kB / 0.9536 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.2536, allocations: 20.5 kB / 0.9537 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.2537, allocations: 24 kB / 0.9537 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.2542, allocations: 271.1 kB / 0.9539 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2542, allocations: 0 / 0.9539 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2542, allocations: 12 kB / 0.954 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2543, allocations: 4 kB / 0.954 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.2546, allocations: 153 kB / 0.9541 GB, free: 384 kB / 0.9011 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.001694/0.2563, allocations: 1.204 MB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2566, allocations: 135 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2568, allocations: 69.31 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.2572, allocations: 67.94 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2572, allocations: 33.39 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.2572, allocations: 0 / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0007375/0.258, allocations: 245.5 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.258, allocations: 51.41 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.2584, allocations: 338.3 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2584, allocations: 29.7 kB / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.2586, allocations: 251 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.2587, allocations: 67.47 kB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.2588, allocations: 59.31 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003/0.2591, allocations: 0.5157 MB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2593, allocations: 51.91 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2595, allocations: 201 kB / 0.9573 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.2599, allocations: 185.3 kB / 0.9575 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2599, allocations: 4 kB / 0.9575 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004553/0.2604, allocations: 217.4 kB / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2604, allocations: 10.28 kB / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2604, allocations: 7.984 kB / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2604, allocations: 0 / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2606, allocations: 43.92 kB / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2606, allocations: 0 / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.2608, allocations: 19.89 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.2608, allocations: 16.08 kB / 0.9578 GB, free: 12.38 MB / 0.9167 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.0001774/0.261, allocations: 184.5 kB / 0.958 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.2611, allocations: 35.81 kB / 0.958 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.2615, allocations: 199.5 kB / 0.9582 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2615, allocations: 4 kB / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2615, allocations: 0 / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2615, allocations: 4 kB / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2627, allocations: 0.6706 MB / 0.9589 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2627, allocations: 7.938 kB / 0.9589 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2629, allocations: 31.92 kB / 0.9589 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2629, allocations: 4 kB / 0.9589 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.2629, allocations: 8 kB / 0.9589 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2629, allocations: 0 / 0.9589 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.2629, allocations: 7.938 kB / 0.9589 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.2636, allocations: 461.5 kB / 0.9594 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2637, allocations: 43.72 kB / 0.9594 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2637, allocations: 4 kB / 0.9594 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2639, allocations: 11.98 kB / 0.9594 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.264, allocations: 16.06 kB / 0.9594 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.264, allocations: 8 kB / 0.9594 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002254/0.2642, allocations: 231 kB / 0.9597 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2642, allocations: 0 / 0.9597 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004282/0.2646, allocations: 91.83 kB / 0.9597 GB, free: 10.24 MB / 0.9167 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.0003129/0.2649, allocations: 159.1 kB / 0.9599 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.2653, allocations: 157.7 kB / 0.96 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2653, allocations: 0 / 0.96 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.2655, allocations: 83.97 kB / 0.9601 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.2663, allocations: 127.7 kB / 0.9603 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2675, allocations: 0.6059 MB / 0.9608 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2677, allocations: 171.5 kB / 0.961 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.2678, allocations: 46.27 kB / 0.9611 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.2679, allocations: 24.5 kB / 0.9611 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.2679, allocations: 0 / 0.9611 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of Templates: time 0.0137/0.2816, allocations: 4.902 MB / 0.9659 GB, free: 4.043 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.544758790987544]