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.001816/0.001816, allocations: 113.9 kB / 17.13 MB, free: 5.926 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.002158/0.002158, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.859/2.859, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] 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.002306/0.002306, allocations: 75.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.8989, allocations: 176.1 MB / 1.322 GB, free: 25.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2104/1.109, allocations: 170.9 MB / 1.489 GB, free: 11.01 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002891/1.112, allocations: 1.557 MB / 1.49 GB, free: 9.742 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/1.112, allocations: 16.75 kB / 1.49 GB, free: 9.734 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004916/1.113, allocations: 155.3 kB / 1.491 GB, free: 9.598 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/1.115, allocations: 0.7363 MB / 1.491 GB, free: 9.043 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/1.116, allocations: 0.6129 MB / 1.492 GB, free: 8.594 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009288/1.117, allocations: 0.7082 MB / 1.493 GB, free: 8.188 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/1.118, allocations: 211 kB / 1.493 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/1.119, allocations: 0.5143 MB / 1.493 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/1.119, allocations: 234.9 kB / 1.493 GB, free: 7.59 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/1.119, allocations: 23.69 kB / 1.493 GB, free: 7.59 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/1.121, allocations: 0.9251 MB / 1.494 GB, free: 7.051 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/1.121, allocations: 109.9 kB / 1.494 GB, free: 6.977 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/1.121, allocations: 171.6 kB / 1.495 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/1.122, allocations: 0.7299 MB / 1.495 GB, free: 6.438 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.122, allocations: 0 / 1.495 GB, free: 6.438 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/1.122, allocations: 1.156 kB / 1.495 GB, free: 6.438 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.122, allocations: 0 / 1.495 GB, free: 6.438 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.001016/1.123, allocations: 0.6798 MB / 1.496 GB, free: 5.832 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.123, allocations: 17.23 kB / 1.496 GB, free: 5.824 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.124, allocations: 156.1 kB / 1.496 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/1.125, allocations: 329.2 kB / 1.496 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/1.125, allocations: 18.22 kB / 1.497 GB, free: 5.438 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/1.125, allocations: 28.09 kB / 1.497 GB, free: 5.426 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/1.125, allocations: 282.9 kB / 1.497 GB, free: 5.234 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.125, allocations: 5.047 kB / 1.497 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/1.125, allocations: 10.56 kB / 1.497 GB, free: 5.223 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.125, allocations: 9.406 kB / 1.497 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/1.126, allocations: 198.3 kB / 1.497 GB, free: 5.133 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/1.127, allocations: 1.218 MB / 1.498 GB, free: 4.008 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.128, allocations: 148.4 kB / 1.498 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.128, allocations: 95.45 kB / 1.498 GB, free: 3.867 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/1.128, allocations: 302.4 kB / 1.499 GB, free: 3.559 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.128, allocations: 35.97 kB / 1.499 GB, free: 3.516 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/1.128, allocations: 0 / 1.499 GB, free: 3.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0007988/1.129, allocations: 294 kB / 1.499 GB, free: 3.367 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.129, allocations: 56.47 kB / 1.499 GB, free: 3.301 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/1.13, allocations: 320.6 kB / 1.499 GB, free: 3.098 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.13, allocations: 30.73 kB / 1.499 GB, free: 3.062 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.13, allocations: 189.3 kB / 1.5 GB, free: 2.891 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/1.13, allocations: 63.17 kB / 1.5 GB, free: 2.836 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/1.13, allocations: 47.84 kB / 1.5 GB, free: 2.801 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.13, allocations: 337.4 kB / 1.5 GB, free: 2.469 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.13, allocations: 73.12 kB / 1.5 GB, free: 2.434 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.13, allocations: 122.1 kB / 1.5 GB, free: 2.348 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/1.131, allocations: 199.2 kB / 1.5 GB, free: 2.219 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.131, allocations: 5 kB / 1.5 GB, free: 2.215 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005185/1.131, allocations: 267.4 kB / 1.501 GB, free: 1.965 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.131, allocations: 5.406 kB / 1.501 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.131, allocations: 7.875 kB / 1.501 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.131, allocations: 4 kB / 1.501 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/1.132, allocations: 43.97 kB / 1.501 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.132, allocations: 0 / 1.501 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.132, allocations: 39.7 kB / 1.501 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/1.132, allocations: 12.09 kB / 1.501 GB, free: 1.855 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.0001445/1.132, allocations: 149.8 kB / 1.501 GB, free: 1.699 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/1.132, allocations: 31.81 kB / 1.501 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/1.133, allocations: 228.6 kB / 1.501 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.133, allocations: 0 / 1.501 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.133, allocations: 0 / 1.501 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.133, allocations: 3.984 kB / 1.501 GB, free: 1.434 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.134, allocations: 0.7109 MB / 1.502 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.134, allocations: 8.031 kB / 1.502 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/1.134, allocations: 27.98 kB / 1.502 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.134, allocations: 4 kB / 1.502 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.134, allocations: 8 kB / 1.502 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/1.134, allocations: 15.86 kB / 1.502 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.134, allocations: 0 / 1.502 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/1.135, allocations: 450.9 kB / 1.502 GB, free: 108 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.135, allocations: 125.2 kB / 1.502 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/1.135, allocations: 8 kB / 1.502 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.135, allocations: 15.73 kB / 1.503 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/1.135, allocations: 15.98 kB / 1.503 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.135, allocations: 4 kB / 1.503 GB, free: 15.92 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002415/1.135, allocations: 231 kB / 1.503 GB, free: 15.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.135, allocations: 0 / 1.503 GB, free: 15.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004129/1.136, allocations: 87.86 kB / 1.503 GB, free: 15.61 MB / 1.186 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.0003037/1.136, allocations: 159.1 kB / 1.503 GB, free: 15.44 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004578/1.137, allocations: 174.9 kB / 1.503 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.137, allocations: 4 kB / 1.503 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.137, allocations: 96.14 kB / 1.503 GB, free: 15.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/1.138, allocations: 170.5 kB / 1.503 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.139, allocations: 0.6698 MB / 1.504 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.139, allocations: 0.7756 MB / 1.505 GB, free: 13.48 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/1.139, allocations: 31.44 kB / 1.505 GB, free: 13.45 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/1.139, allocations: 0 / 1.505 GB, free: 13.45 MB / 1.186 GB Notification: Performance of Templates: time 0.00793/1.147, allocations: 4.965 MB / 1.51 GB, free: 8.543 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.55879647799884]