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.001236/0.001236, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001336/0.001336, allocations: 213.2 kB / 23 MB, free: 4.566 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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 2.909/2.909, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.001929/0.001929, allocations: 71.92 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1899/0.4863, allocations: 171.1 MB / 1.494 GB, free: 5.723 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.489, allocations: 1.581 MB / 1.496 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.4893, allocations: 19.81 kB / 1.496 GB, free: 4.121 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.4897, allocations: 146.9 kB / 1.496 GB, free: 3.977 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.4913, allocations: 0.7546 MB / 1.497 GB, free: 3.219 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.4927, allocations: 0.6266 MB / 1.497 GB, free: 2.594 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.4936, allocations: 0.7292 MB / 1.498 GB, free: 1.863 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.4939, allocations: 197 kB / 1.498 GB, free: 1.664 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.495, allocations: 0.5177 MB / 1.499 GB, free: 1.145 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.4953, allocations: 235 kB / 1.499 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.4954, allocations: 27.98 kB / 1.499 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.4969, allocations: 0.9274 MB / 1.5 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.497, allocations: 119.6 kB / 1.5 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.4972, allocations: 167.2 kB / 1.5 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.4983, allocations: 0.7398 MB / 1.501 GB, free: 14.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4983, allocations: 0 / 1.501 GB, free: 14.93 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4983, allocations: 0 / 1.501 GB, free: 14.93 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4983, allocations: 0 / 1.501 GB, free: 14.93 MB / 1.201 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.0009394/0.4992, allocations: 0.6018 MB / 1.501 GB, free: 14.3 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4992, allocations: 8.031 kB / 1.501 GB, free: 14.29 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.5003, allocations: 155.6 kB / 1.502 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.5008, allocations: 272.5 kB / 1.502 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5009, allocations: 16.5 kB / 1.502 GB, free: 13.83 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.5009, allocations: 27.94 kB / 1.502 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.5014, allocations: 293 kB / 1.502 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5014, allocations: 0 / 1.502 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.5014, allocations: 4 kB / 1.502 GB, free: 13.49 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.5015, allocations: 8 kB / 1.502 GB, free: 13.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.5019, allocations: 200.9 kB / 1.502 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.5034, allocations: 1.192 MB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.5037, allocations: 150.3 kB / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.5039, allocations: 86.53 kB / 1.504 GB, free: 11.76 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.5043, allocations: 71.91 kB / 1.504 GB, free: 11.69 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5043, allocations: 46.56 kB / 1.504 GB, free: 11.63 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.5043, allocations: 0 / 1.504 GB, free: 11.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0008069/0.5051, allocations: 289.6 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.5052, allocations: 55.31 kB / 1.504 GB, free: 11.28 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.5056, allocations: 324.5 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.5057, allocations: 33.7 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5058, allocations: 184.2 kB / 1.505 GB, free: 10.73 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.5059, allocations: 63.47 kB / 1.505 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.5059, allocations: 45.66 kB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5061, allocations: 342.8 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5063, allocations: 67.95 kB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5065, allocations: 126.1 kB / 1.505 GB, free: 10.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.5068, allocations: 203 kB / 1.505 GB, free: 9.848 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5069, allocations: 3.938 kB / 1.505 GB, free: 9.844 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004755/0.5073, allocations: 253.2 kB / 1.506 GB, free: 9.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5073, allocations: 9.344 kB / 1.506 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5074, allocations: 4 kB / 1.506 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5074, allocations: 0 / 1.506 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5076, allocations: 51.84 kB / 1.506 GB, free: 9.527 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5076, allocations: 8.078 kB / 1.506 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5078, allocations: 35.77 kB / 1.506 GB, free: 9.484 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.5078, allocations: 8 kB / 1.506 GB, free: 9.477 MB / 1.201 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.0002023/0.508, allocations: 157.7 kB / 1.506 GB, free: 9.312 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.5081, allocations: 27.81 kB / 1.506 GB, free: 9.285 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.5085, allocations: 228.7 kB / 1.506 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5085, allocations: 4 kB / 1.506 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5085, allocations: 4 kB / 1.506 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5085, allocations: 0 / 1.506 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5097, allocations: 0.6825 MB / 1.507 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5097, allocations: 0 / 1.507 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.5099, allocations: 35.92 kB / 1.507 GB, free: 8.258 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5099, allocations: 4 kB / 1.507 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5099, allocations: 0 / 1.507 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.5099, allocations: 11.92 kB / 1.507 GB, free: 8.242 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5099, allocations: 4 kB / 1.507 GB, free: 8.238 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.5106, allocations: 455.3 kB / 1.507 GB, free: 7.758 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5107, allocations: 47.92 kB / 1.507 GB, free: 7.711 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.5107, allocations: 8 kB / 1.507 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5109, allocations: 15.91 kB / 1.507 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.5109, allocations: 11.98 kB / 1.507 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.511, allocations: 11.98 kB / 1.507 GB, free: 7.664 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002378/0.5112, allocations: 231.1 kB / 1.508 GB, free: 7.441 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5112, allocations: 4 kB / 1.508 GB, free: 7.438 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003869/0.5116, allocations: 83.88 kB / 1.508 GB, free: 7.355 MB / 1.201 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.0003188/0.5119, allocations: 151.1 kB / 1.508 GB, free: 7.195 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.5124, allocations: 175.9 kB / 1.508 GB, free: 7.023 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5124, allocations: 0 / 1.508 GB, free: 7.023 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.5126, allocations: 87.81 kB / 1.508 GB, free: 6.938 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.5134, allocations: 176.2 kB / 1.508 GB, free: 6.773 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5145, allocations: 0.6596 MB / 1.509 GB, free: 6.055 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.515, allocations: 0.7795 MB / 1.51 GB, free: 5.246 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.5151, allocations: 31.44 kB / 1.51 GB, free: 5.215 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/0.5151, allocations: 4 kB / 1.51 GB, free: 5.211 MB / 1.201 GB Notification: Performance of Templates: time 0.008535/0.5236, allocations: 4.966 MB / 1.515 GB, free: 300 kB / 1.201 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: 11.166947662015446]