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.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.001795/0.001795, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002179/0.002179, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 496.2 MB / 0.7819 GB, free: 12.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002023/0.002023, allocations: 67.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.269, allocations: 173.6 MB / 1.305 GB, free: 33.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2387/1.508, allocations: 168.2 MB / 1.47 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004346/1.512, allocations: 1.57 MB / 1.471 GB, free: 6.461 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/1.513, allocations: 14.75 kB / 1.471 GB, free: 6.453 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009925/1.514, allocations: 151 kB / 1.471 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/1.517, allocations: 0.7396 MB / 1.472 GB, free: 5.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/1.52, allocations: 0.6057 MB / 1.473 GB, free: 5.668 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002083/1.522, allocations: 0.7187 MB / 1.473 GB, free: 5.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/1.523, allocations: 201.6 kB / 1.474 GB, free: 5.238 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/1.525, allocations: 0.4979 MB / 1.474 GB, free: 4.949 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/1.526, allocations: 235 kB / 1.474 GB, free: 4.809 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/1.526, allocations: 22.5 kB / 1.474 GB, free: 4.809 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/1.529, allocations: 0.9104 MB / 1.475 GB, free: 4.285 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/1.529, allocations: 112.9 kB / 1.475 GB, free: 4.207 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/1.53, allocations: 176.5 kB / 1.475 GB, free: 4.098 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.532, allocations: 0.7295 MB / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.532, allocations: 0 / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/1.532, allocations: 1.156 kB / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.262e-05/1.532, allocations: 0 / 1.476 GB, free: 3.664 MB / 1.154 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.001864/1.534, allocations: 0.6842 MB / 1.477 GB, free: 3.055 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.534, allocations: 9.375 kB / 1.477 GB, free: 3.055 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.536, allocations: 161.6 kB / 1.477 GB, free: 2.977 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/1.536, allocations: 328.1 kB / 1.477 GB, free: 2.672 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.537, allocations: 18.56 kB / 1.477 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/1.537, allocations: 27.41 kB / 1.477 GB, free: 2.652 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/1.537, allocations: 284.2 kB / 1.478 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.537, allocations: 1.438 kB / 1.478 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/1.537, allocations: 9.156 kB / 1.478 GB, free: 2.453 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/1.537, allocations: 6.688 kB / 1.478 GB, free: 2.453 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/1.538, allocations: 201.4 kB / 1.478 GB, free: 2.363 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/1.54, allocations: 1.219 MB / 1.479 GB, free: 1.238 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/1.54, allocations: 147.7 kB / 1.479 GB, free: 1.148 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/1.54, allocations: 86.45 kB / 1.479 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/1.541, allocations: 307.8 kB / 1.48 GB, free: 0.793 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.541, allocations: 39.62 kB / 1.48 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 2.585e-06/1.541, allocations: 0 / 1.48 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.000931/1.542, allocations: 296.9 kB / 1.48 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/1.542, allocations: 54.41 kB / 1.48 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.543, allocations: 323 kB / 1.48 GB, free: 332 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/1.543, allocations: 30.89 kB / 1.48 GB, free: 296 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.543, allocations: 189.5 kB / 1.48 GB, free: 120 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/1.543, allocations: 59.83 kB / 1.48 GB, free: 68 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/1.543, allocations: 43.02 kB / 1.481 GB, free: 36 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.543, allocations: 337.9 kB / 1.481 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.543, allocations: 72.41 kB / 1.481 GB, free: 15.67 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/1.544, allocations: 130.9 kB / 1.481 GB, free: 15.57 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.544, allocations: 199.5 kB / 1.481 GB, free: 15.45 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.544, allocations: 3.938 kB / 1.481 GB, free: 15.44 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005569/1.545, allocations: 248.6 kB / 1.481 GB, free: 15.31 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.545, allocations: 5.031 kB / 1.481 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.545, allocations: 1.406 kB / 1.481 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.545, allocations: 2.688 kB / 1.481 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/1.545, allocations: 50.31 kB / 1.482 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.545, allocations: 6.625 kB / 1.482 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/1.545, allocations: 37.83 kB / 1.482 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/1.545, allocations: 7.938 kB / 1.482 GB, free: 15.26 MB / 1.17 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.0001834/1.545, allocations: 152.2 kB / 1.482 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/1.546, allocations: 42.08 kB / 1.482 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/1.546, allocations: 225.6 kB / 1.482 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.546, allocations: 10.39 kB / 1.482 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.546, allocations: 0 / 1.482 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.546, allocations: 9.297 kB / 1.482 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/1.547, allocations: 0.7018 MB / 1.483 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.547, allocations: 1.5 kB / 1.483 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/1.548, allocations: 38.23 kB / 1.483 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.548, allocations: 3.688 kB / 1.483 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.548, allocations: 3.344 kB / 1.483 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.548, allocations: 6.094 kB / 1.483 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.548, allocations: 6.234 kB / 1.483 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/1.548, allocations: 455.6 kB / 1.483 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/1.549, allocations: 128 kB / 1.483 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/1.549, allocations: 3.281 kB / 1.483 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.549, allocations: 17.08 kB / 1.483 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.549, allocations: 19.42 kB / 1.483 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.549, allocations: 5.469 kB / 1.483 GB, free: 13.85 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003115/1.549, allocations: 234.5 kB / 1.484 GB, free: 13.7 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.549, allocations: 0 / 1.484 GB, free: 13.7 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005652/1.55, allocations: 88.61 kB / 1.484 GB, free: 13.68 MB / 1.17 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.000524/1.55, allocations: 161.4 kB / 1.484 GB, free: 13.55 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005119/1.551, allocations: 179.6 kB / 1.484 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.551, allocations: 1.031 kB / 1.484 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.551, allocations: 88.23 kB / 1.484 GB, free: 13.44 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/1.552, allocations: 183.4 kB / 1.484 GB, free: 13.33 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.553, allocations: 0.6379 MB / 1.485 GB, free: 12.87 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/1.554, allocations: 0.7816 MB / 1.486 GB, free: 12.13 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002674/1.554, allocations: 67.17 kB / 1.486 GB, free: 12.1 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/1.554, allocations: 25.06 kB / 1.486 GB, free: 12.09 MB / 1.17 GB Notification: Performance of SimCode: time 9.21e-07/1.554, allocations: 0 / 1.486 GB, free: 12.09 MB / 1.17 GB Notification: Performance of Templates: time 0.01565/1.57, allocations: 5.946 MB / 1.492 GB, free: 9.156 MB / 1.17 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] 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: 10.787765046581626]