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.001893/0.001893, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002246/0.002246, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.526/1.526, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.895/2.895, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.205e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2291/0.2291, allocations: 147.6 MB / 0.955 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2328, allocations: 1.493 MB / 0.9565 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.2334, allocations: 19.81 kB / 0.9565 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.2341, allocations: 158.7 kB / 0.9566 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.2367, allocations: 0.7229 MB / 0.9573 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.2391, allocations: 0.6579 MB / 0.958 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.2404, allocations: 0.7175 MB / 0.9587 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.241, allocations: 197.1 kB / 0.9589 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2429, allocations: 0.6113 MB / 0.9595 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.2434, allocations: 195.4 kB / 0.9596 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.2434, allocations: 24 kB / 0.9597 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.2453, allocations: 0.7203 MB / 0.9604 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.2455, allocations: 115.6 kB / 0.9605 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.2458, allocations: 119.7 kB / 0.9606 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.2477, allocations: 0.7439 MB / 0.9613 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2478, allocations: 0 / 0.9613 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2478, allocations: 0 / 0.9613 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2478, allocations: 4 kB / 0.9613 GB, free: 7.488 MB / 0.9167 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.00156/0.2493, allocations: 0.5901 MB / 0.9619 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.2494, allocations: 15.97 kB / 0.9619 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.2509, allocations: 219.1 kB / 0.9621 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.2516, allocations: 268.6 kB / 0.9624 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.2516, allocations: 16.5 kB / 0.9624 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.2517, allocations: 27.94 kB / 0.9624 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.2523, allocations: 285 kB / 0.9627 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2523, allocations: 0 / 0.9627 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.2523, allocations: 12 kB / 0.9627 GB, free: 6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2523, allocations: 8 kB / 0.9627 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.2528, allocations: 200.9 kB / 0.9629 GB, free: 5.797 MB / 0.9167 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.001726/0.2546, allocations: 0.9445 MB / 0.9638 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.2549, allocations: 142.4 kB / 0.964 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2551, allocations: 92.73 kB / 0.9641 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.2557, allocations: 71.92 kB / 0.9641 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.2557, allocations: 38.56 kB / 0.9642 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/0.2557, allocations: 4 kB / 0.9642 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.001041/0.2568, allocations: 292.4 kB / 0.9644 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2568, allocations: 51.41 kB / 0.9645 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2572, allocations: 268.1 kB / 0.9647 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.2572, allocations: 29.7 kB / 0.9648 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.2574, allocations: 188.2 kB / 0.965 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.2575, allocations: 59.48 kB / 0.965 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2576, allocations: 53.66 kB / 0.9651 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2578, allocations: 342.8 kB / 0.9654 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.258, allocations: 63.95 kB / 0.9654 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2583, allocations: 206.2 kB / 0.9656 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.2587, allocations: 194.1 kB / 0.9658 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2587, allocations: 0 / 0.9658 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007405/0.2595, allocations: 259.9 kB / 0.9661 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.2595, allocations: 11.92 kB / 0.9661 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2595, allocations: 4 kB / 0.9661 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.2595, allocations: 0 / 0.9661 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.2598, allocations: 43.92 kB / 0.9661 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2598, allocations: 4 kB / 0.9661 GB, free: 2.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.26, allocations: 27.97 kB / 0.9662 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.26, allocations: 12 kB / 0.9662 GB, free: 2.262 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.0001913/0.2602, allocations: 149.8 kB / 0.9663 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.2603, allocations: 31.81 kB / 0.9664 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.2609, allocations: 231.5 kB / 0.9666 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2609, allocations: 4 kB / 0.9666 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2609, allocations: 0 / 0.9666 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2609, allocations: 4 kB / 0.9666 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.2621, allocations: 0.6167 MB / 0.9672 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2621, allocations: 4 kB / 0.9672 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2623, allocations: 35.97 kB / 0.9672 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2623, allocations: 8.219 kB / 0.9672 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2624, allocations: 4 kB / 0.9672 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2624, allocations: 3.984 kB / 0.9672 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2624, allocations: 7.938 kB / 0.9672 GB, free: 1.098 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.2632, allocations: 445.2 kB / 0.9677 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2633, allocations: 51.75 kB / 0.9677 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.2634, allocations: 11.98 kB / 0.9677 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2635, allocations: 12.06 kB / 0.9677 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.2636, allocations: 23.91 kB / 0.9678 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2636, allocations: 4 kB / 0.9678 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002397/0.2639, allocations: 183.1 kB / 0.9679 GB, free: 356 kB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2639, allocations: 4 kB / 0.9679 GB, free: 352 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005071/0.2644, allocations: 87.89 kB / 0.968 GB, free: 264 kB / 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.0003848/0.2648, allocations: 147.1 kB / 0.9682 GB, free: 104 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000584/0.2654, allocations: 173.3 kB / 0.9683 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2654, allocations: 0 / 0.9683 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.2656, allocations: 99.84 kB / 0.9684 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.2665, allocations: 124.2 kB / 0.9685 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2678, allocations: 0.5928 MB / 0.9691 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2681, allocations: 179.3 kB / 0.9693 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.2683, allocations: 50.27 kB / 0.9693 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.2684, allocations: 32.48 kB / 0.9694 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of SimCode: time 6.62e-07/0.2684, allocations: 0 / 0.9694 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.01232/0.2807, allocations: 4.898 MB / 0.9742 GB, free: 10.05 MB / 0.9323 GB " [Timeout remaining time 300] 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: 8.500783274997957]