Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001552/0.001552, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002647/0.002647, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.443e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9297/0.9297, allocations: 147.6 MB / 1.144 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.9322, allocations: 1.474 MB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.9326, allocations: 18.28 kB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.9331, allocations: 153.4 kB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.935, allocations: 0.7129 MB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.9366, allocations: 0.6591 MB / 1.147 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.9377, allocations: 0.6986 MB / 1.148 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.9381, allocations: 179.9 kB / 1.148 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.9392, allocations: 0.5946 MB / 1.149 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.9395, allocations: 200.7 kB / 1.149 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.9395, allocations: 23.78 kB / 1.149 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.9409, allocations: 0.7176 MB / 1.15 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.941, allocations: 117.1 kB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.9411, allocations: 121.5 kB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.9421, allocations: 0.7363 MB / 1.151 GB, free: 45.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9421, allocations: 0 / 1.151 GB, free: 45.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9421, allocations: 0 / 1.151 GB, free: 45.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9421, allocations: 4.062 kB / 1.151 GB, free: 45.08 MB / 1.076 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.0008454/0.943, allocations: 0.5897 MB / 1.151 GB, free: 44.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.943, allocations: 8.75 kB / 1.151 GB, free: 44.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.9441, allocations: 162 kB / 1.151 GB, free: 44.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.9446, allocations: 267.6 kB / 1.152 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.9446, allocations: 16.44 kB / 1.152 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.9447, allocations: 23.25 kB / 1.152 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.9451, allocations: 284.2 kB / 1.152 GB, free: 44.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9451, allocations: 4.906 kB / 1.152 GB, free: 44.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.9451, allocations: 9.75 kB / 1.152 GB, free: 44.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.9451, allocations: 7.75 kB / 1.152 GB, free: 44.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.9455, allocations: 208.5 kB / 1.152 GB, free: 44.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.9466, allocations: 0.9272 MB / 1.153 GB, free: 43.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.9468, allocations: 135.9 kB / 1.153 GB, free: 43.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.947, allocations: 91.47 kB / 1.153 GB, free: 43.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.9474, allocations: 76.77 kB / 1.153 GB, free: 43.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.9474, allocations: 31.56 kB / 1.153 GB, free: 43.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.9474, allocations: 3.188 kB / 1.153 GB, free: 43.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0007308/0.9482, allocations: 291.1 kB / 1.154 GB, free: 43.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.9482, allocations: 54.72 kB / 1.154 GB, free: 43.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.9484, allocations: 256.2 kB / 1.154 GB, free: 43.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.9484, allocations: 32.8 kB / 1.154 GB, free: 43.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.9485, allocations: 189.1 kB / 1.154 GB, free: 43.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.9486, allocations: 65.69 kB / 1.154 GB, free: 43.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.9486, allocations: 48.25 kB / 1.154 GB, free: 43.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.9487, allocations: 339.9 kB / 1.154 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.9488, allocations: 66.27 kB / 1.155 GB, free: 43.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.9491, allocations: 209.5 kB / 1.155 GB, free: 42.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.9494, allocations: 197.4 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9494, allocations: 0 / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004099/0.9498, allocations: 242.5 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9498, allocations: 6.406 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9498, allocations: 5.953 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9498, allocations: 3.531 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.95, allocations: 42.62 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.95, allocations: 4.094 kB / 1.155 GB, free: 42.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.9502, allocations: 34.38 kB / 1.155 GB, free: 42.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.9502, allocations: 11.41 kB / 1.155 GB, free: 42.77 MB / 1.076 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.000112/0.9504, allocations: 152.6 kB / 1.155 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.9504, allocations: 30.94 kB / 1.155 GB, free: 42.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.9508, allocations: 220.5 kB / 1.156 GB, free: 42.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9508, allocations: 3.75 kB / 1.156 GB, free: 42.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9508, allocations: 0 / 1.156 GB, free: 42.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9508, allocations: 7.359 kB / 1.156 GB, free: 42.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.9517, allocations: 0.6169 MB / 1.156 GB, free: 42.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.9517, allocations: 3.844 kB / 1.156 GB, free: 42.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.9519, allocations: 33.81 kB / 1.156 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9519, allocations: 10.19 kB / 1.156 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9519, allocations: 6.094 kB / 1.156 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9519, allocations: 2.938 kB / 1.156 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9519, allocations: 4.781 kB / 1.156 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.9525, allocations: 441.2 kB / 1.157 GB, free: 42.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.9526, allocations: 43.83 kB / 1.157 GB, free: 42.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.9526, allocations: 9.25 kB / 1.157 GB, free: 42.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.9528, allocations: 11.75 kB / 1.157 GB, free: 42.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.9528, allocations: 19.8 kB / 1.157 GB, free: 42.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.9528, allocations: 5.5 kB / 1.157 GB, free: 42.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001183/0.953, allocations: 181.6 kB / 1.157 GB, free: 42.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.953, allocations: 2.109 kB / 1.157 GB, free: 42.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004014/0.9534, allocations: 89.14 kB / 1.157 GB, free: 42 MB / 1.076 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.0002576/0.9536, allocations: 151.1 kB / 1.157 GB, free: 41.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.954, allocations: 185.6 kB / 1.157 GB, free: 41.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.954, allocations: 0.9688 kB / 1.157 GB, free: 41.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.9542, allocations: 93.95 kB / 1.158 GB, free: 41.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.9549, allocations: 111.7 kB / 1.158 GB, free: 41.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.9557, allocations: 0.5595 MB / 1.158 GB, free: 41.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.9558, allocations: 178.6 kB / 1.158 GB, free: 41.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.956, allocations: 51.42 kB / 1.158 GB, free: 41.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.956, allocations: 25.06 kB / 1.158 GB, free: 41.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.956, allocations: 0 / 1.158 GB, free: 41.48 MB / 1.076 GB Notification: Performance of Templates: time 0.008854/0.9649, allocations: 4.624 MB / 1.163 GB, free: 41.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.474227763712406]