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.001621/0.001621, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002017/0.002017, allocations: 222.9 kB / 23 MB, free: 4.91 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 76.86 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3817, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1914/0.5731, allocations: 147.7 MB / 1.471 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.5761, allocations: 1.499 MB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.5764, allocations: 23.75 kB / 1.472 GB, free: 12.06 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.5769, allocations: 146.9 kB / 1.472 GB, free: 11.92 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.5787, allocations: 0.7079 MB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5803, allocations: 0.6192 MB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.5812, allocations: 0.7254 MB / 1.474 GB, free: 9.863 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.5815, allocations: 193 kB / 1.474 GB, free: 9.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.5826, allocations: 0.5177 MB / 1.475 GB, free: 9.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.5829, allocations: 223 kB / 1.475 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.583, allocations: 24 kB / 1.475 GB, free: 8.906 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.5841, allocations: 0.7051 MB / 1.476 GB, free: 8.199 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.5843, allocations: 123.6 kB / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.5844, allocations: 135.4 kB / 1.476 GB, free: 7.945 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.5854, allocations: 0.7047 MB / 1.477 GB, free: 7.238 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5854, allocations: 4 kB / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5854, allocations: 0 / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5854, allocations: 0 / 1.477 GB, free: 7.234 MB / 1.17 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.0009915/0.5864, allocations: 0.6018 MB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5864, allocations: 8.031 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5875, allocations: 163.6 kB / 1.477 GB, free: 6.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.5881, allocations: 260.5 kB / 1.478 GB, free: 6.152 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.5881, allocations: 24.5 kB / 1.478 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.5882, allocations: 27.94 kB / 1.478 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.5887, allocations: 277.1 kB / 1.478 GB, free: 5.809 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5887, allocations: 3.938 kB / 1.478 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.5887, allocations: 12 kB / 1.478 GB, free: 5.793 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.5887, allocations: 7.938 kB / 1.478 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.5891, allocations: 200.9 kB / 1.478 GB, free: 5.59 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.5905, allocations: 0.9252 MB / 1.479 GB, free: 4.617 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.5908, allocations: 146.4 kB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.591, allocations: 96.73 kB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/0.5914, allocations: 71.92 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5914, allocations: 34.56 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.5914, allocations: 0 / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0007763/0.5922, allocations: 291.3 kB / 1.48 GB, free: 3.965 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.5923, allocations: 59.41 kB / 1.48 GB, free: 3.895 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.5925, allocations: 264.2 kB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5925, allocations: 25.7 kB / 1.48 GB, free: 3.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.5927, allocations: 192.2 kB / 1.48 GB, free: 3.402 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.5927, allocations: 67.42 kB / 1.48 GB, free: 3.336 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.5928, allocations: 45.7 kB / 1.48 GB, free: 3.285 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.593, allocations: 334.8 kB / 1.481 GB, free: 2.949 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.5931, allocations: 63.95 kB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.5934, allocations: 220 kB / 1.481 GB, free: 2.637 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.5938, allocations: 187.3 kB / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5938, allocations: 0 / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004694/0.5942, allocations: 253.2 kB / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5942, allocations: 8.094 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5943, allocations: 4 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5943, allocations: 4 kB / 1.481 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5945, allocations: 43.92 kB / 1.481 GB, free: 2.125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5945, allocations: 4 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.5947, allocations: 23.83 kB / 1.481 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5947, allocations: 12 kB / 1.481 GB, free: 2.086 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.0001584/0.5948, allocations: 153.8 kB / 1.482 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.5949, allocations: 27.8 kB / 1.482 GB, free: 1.898 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.5954, allocations: 229.5 kB / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5954, allocations: 0 / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5954, allocations: 0 / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5954, allocations: 4 kB / 1.482 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5964, allocations: 0.6167 MB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5964, allocations: 4 kB / 1.482 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5966, allocations: 39.91 kB / 1.483 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.5966, allocations: 8 kB / 1.483 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5966, allocations: 4 kB / 1.483 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5966, allocations: 4 kB / 1.483 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5966, allocations: 3.938 kB / 1.483 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.5973, allocations: 453.3 kB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.5974, allocations: 35.78 kB / 1.483 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5974, allocations: 12.12 kB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.5976, allocations: 4 kB / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.5976, allocations: 31.83 kB / 1.483 GB, free: 372 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5976, allocations: 4 kB / 1.483 GB, free: 368 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001735/0.5978, allocations: 187.1 kB / 1.483 GB, free: 180 kB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5978, allocations: 0 / 1.483 GB, free: 180 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003838/0.5982, allocations: 91.91 kB / 1.483 GB, free: 88 kB / 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.0002852/0.5985, allocations: 151.1 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.5989, allocations: 172.9 kB / 1.484 GB, free: 15.76 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5989, allocations: 4 kB / 1.484 GB, free: 15.76 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.5991, allocations: 96.19 kB / 1.484 GB, free: 15.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.5998, allocations: 119 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.6008, allocations: 0.6518 MB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.601, allocations: 175.5 kB / 1.485 GB, free: 14.65 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.6011, allocations: 27.44 kB / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.6011, allocations: 0 / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of Templates: time 0.007242/0.6083, allocations: 4.499 MB / 1.489 GB, free: 10.17 MB / 1.186 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.23665749328211]