Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001219/0.001219, allocations: 119.2 kB / 17.13 MB, free: 5.918 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.001219/0.001219, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.499/1.499, allocations: 225.6 MB / 248.5 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 160.7 MB / 1.214 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 1.018/1.36, allocations: 168 MB / 1.378 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003408/1.364, allocations: 1.56 MB / 1.38 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/1.364, allocations: 11.47 kB / 1.38 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/1.365, allocations: 155.1 kB / 1.38 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/1.367, allocations: 0.7412 MB / 1.381 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/1.369, allocations: 0.6058 MB / 1.381 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001181/1.37, allocations: 0.7149 MB / 1.382 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/1.37, allocations: 207.5 kB / 1.382 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/1.371, allocations: 349.9 kB / 1.382 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/1.372, allocations: 246 kB / 1.383 GB, free: 8.422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/1.372, allocations: 23.81 kB / 1.383 GB, free: 8.422 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/1.374, allocations: 0.9239 MB / 1.383 GB, free: 8.059 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/1.374, allocations: 116.4 kB / 1.384 GB, free: 8.004 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/1.374, allocations: 174.8 kB / 1.384 GB, free: 7.906 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/1.376, allocations: 0.7279 MB / 1.384 GB, free: 7.531 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.376, allocations: 0.9375 kB / 1.384 GB, free: 7.531 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.376, allocations: 0 / 1.384 GB, free: 7.531 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.376, allocations: 0 / 1.384 GB, free: 7.531 MB / 1.061 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.001124/1.377, allocations: 0.6796 MB / 1.385 GB, free: 6.926 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.377, allocations: 9.219 kB / 1.385 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.378, allocations: 157.1 kB / 1.385 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/1.379, allocations: 333.2 kB / 1.386 GB, free: 6.547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/1.379, allocations: 21.7 kB / 1.386 GB, free: 6.531 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/1.379, allocations: 27.84 kB / 1.386 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/1.379, allocations: 280.5 kB / 1.386 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.379, allocations: 5 kB / 1.386 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/1.379, allocations: 6.25 kB / 1.386 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.379, allocations: 5.906 kB / 1.386 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/1.38, allocations: 206 kB / 1.386 GB, free: 6.227 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/1.381, allocations: 1.223 MB / 1.387 GB, free: 5.098 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/1.382, allocations: 149.3 kB / 1.387 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.382, allocations: 93.11 kB / 1.388 GB, free: 4.961 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/1.382, allocations: 298.2 kB / 1.388 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/1.383, allocations: 35.91 kB / 1.388 GB, free: 4.613 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/1.383, allocations: 1.188 kB / 1.388 GB, free: 4.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0008989/1.383, allocations: 296 kB / 1.388 GB, free: 4.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.383, allocations: 53.62 kB / 1.388 GB, free: 4.402 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/1.384, allocations: 331.4 kB / 1.389 GB, free: 4.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.384, allocations: 27.2 kB / 1.389 GB, free: 4.152 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/1.384, allocations: 184.4 kB / 1.389 GB, free: 3.984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/1.384, allocations: 67.53 kB / 1.389 GB, free: 3.926 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/1.384, allocations: 47.17 kB / 1.389 GB, free: 3.891 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.384, allocations: 338.6 kB / 1.389 GB, free: 3.559 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/1.385, allocations: 68.8 kB / 1.389 GB, free: 3.527 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/1.385, allocations: 128.3 kB / 1.389 GB, free: 3.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/1.385, allocations: 197.7 kB / 1.39 GB, free: 3.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.385, allocations: 5.156 kB / 1.39 GB, free: 3.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006436/1.386, allocations: 258.5 kB / 1.39 GB, free: 3.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.386, allocations: 5.406 kB / 1.39 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.386, allocations: 1.469 kB / 1.39 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.386, allocations: 3.219 kB / 1.39 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.386, allocations: 46.73 kB / 1.39 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.386, allocations: 5.562 kB / 1.39 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/1.387, allocations: 35.08 kB / 1.39 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/1.387, allocations: 11.89 kB / 1.39 GB, free: 3.117 MB / 1.061 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.000182/1.387, allocations: 151.1 kB / 1.39 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/1.387, allocations: 34.73 kB / 1.39 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/1.387, allocations: 233.7 kB / 1.39 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.387, allocations: 6.969 kB / 1.39 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.387, allocations: 0 / 1.39 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.387, allocations: 0 / 1.39 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.389, allocations: 0.7058 MB / 1.391 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.389, allocations: 2.219 kB / 1.391 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.389, allocations: 42.61 kB / 1.391 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.389, allocations: 3.281 kB / 1.391 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/1.389, allocations: 3.375 kB / 1.391 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/1.389, allocations: 6.219 kB / 1.391 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.389, allocations: 6.719 kB / 1.391 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/1.39, allocations: 455 kB / 1.391 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.39, allocations: 123.8 kB / 1.392 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/1.39, allocations: 4 kB / 1.392 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.39, allocations: 17.55 kB / 1.392 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/1.39, allocations: 14.67 kB / 1.392 GB, free: 1.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/1.39, allocations: 10.25 kB / 1.392 GB, free: 1.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002769/1.39, allocations: 233.7 kB / 1.392 GB, free: 1.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.39, allocations: 0 / 1.392 GB, free: 1.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004545/1.391, allocations: 88.86 kB / 1.392 GB, free: 1.543 MB / 1.061 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.0004787/1.391, allocations: 174.4 kB / 1.392 GB, free: 1.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005112/1.392, allocations: 173.2 kB / 1.392 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.392, allocations: 1.312 kB / 1.392 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.392, allocations: 88.27 kB / 1.392 GB, free: 1.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/1.393, allocations: 177.1 kB / 1.393 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/1.394, allocations: 0.6619 MB / 1.393 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/1.395, allocations: 0.7809 MB / 1.394 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/1.395, allocations: 27.59 kB / 1.394 GB, free: 15.98 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/1.395, allocations: 0 / 1.394 GB, free: 15.98 MB / 1.076 GB Notification: Performance of Templates: time 0.009873/1.405, allocations: 4.99 MB / 1.399 GB, free: 13.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.765261455904692]