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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008363/0.008363, allocations: 101.3 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9708/0.9722, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1822/1.154, allocations: 167.4 MB / 1.371 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002994/1.157, allocations: 1.56 MB / 1.373 GB, free: 4.004 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/1.158, allocations: 15.88 kB / 1.373 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004966/1.158, allocations: 150.9 kB / 1.373 GB, free: 3.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/1.16, allocations: 0.7077 MB / 1.374 GB, free: 3.129 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/1.162, allocations: 0.6034 MB / 1.374 GB, free: 2.527 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007461/1.162, allocations: 0.7215 MB / 1.375 GB, free: 1.805 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/1.163, allocations: 236.8 kB / 1.375 GB, free: 1.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/1.163, allocations: 338.7 kB / 1.375 GB, free: 1.238 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/1.164, allocations: 227.1 kB / 1.376 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/1.164, allocations: 28 kB / 1.376 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/1.165, allocations: 0.8767 MB / 1.377 GB, free: 112 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/1.165, allocations: 99.7 kB / 1.377 GB, free: 12 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.165, allocations: 171.2 kB / 1.377 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/1.166, allocations: 0.7304 MB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.166, allocations: 0 / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.052e-06/1.166, allocations: 0 / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.166, allocations: 0 / 1.378 GB, free: 15.11 MB / 1.107 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.167, allocations: 0.6584 MB / 1.378 GB, free: 14.4 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/1.167, allocations: 8.031 kB / 1.378 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.169, allocations: 163.3 kB / 1.378 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/1.169, allocations: 326.6 kB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/1.169, allocations: 24.44 kB / 1.379 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/1.169, allocations: 20 kB / 1.379 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/1.17, allocations: 285.8 kB / 1.379 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.17, allocations: 4 kB / 1.379 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.17, allocations: 12 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.17, allocations: 7.984 kB / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/1.17, allocations: 204.9 kB / 1.379 GB, free: 13.31 MB / 1.107 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.001424/1.172, allocations: 1.226 MB / 1.38 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/1.172, allocations: 138.5 kB / 1.38 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.172, allocations: 101.1 kB / 1.381 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/1.173, allocations: 303.2 kB / 1.381 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/1.173, allocations: 42.47 kB / 1.381 GB, free: 11.33 MB / 1.107 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/1.173, allocations: 0 / 1.381 GB, free: 11.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=17): time 0.0007807/1.174, allocations: 291.1 kB / 1.381 GB, free: 11.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.174, allocations: 55.41 kB / 1.381 GB, free: 10.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/1.174, allocations: 320.5 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.174, allocations: 33.7 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.174, allocations: 184.2 kB / 1.382 GB, free: 10.44 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/1.174, allocations: 63.05 kB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/1.174, allocations: 45.7 kB / 1.382 GB, free: 10.32 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.174, allocations: 342.8 kB / 1.382 GB, free: 9.98 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.175, allocations: 63.95 kB / 1.382 GB, free: 9.918 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/1.175, allocations: 135.3 kB / 1.382 GB, free: 9.77 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/1.175, allocations: 198.8 kB / 1.383 GB, free: 9.559 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.175, allocations: 4 kB / 1.383 GB, free: 9.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004896/1.176, allocations: 257.1 kB / 1.383 GB, free: 9.297 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.176, allocations: 4 kB / 1.383 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.176, allocations: 4 kB / 1.383 GB, free: 9.289 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.176, allocations: 0 / 1.383 GB, free: 9.289 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/1.176, allocations: 43.97 kB / 1.383 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.176, allocations: 3.938 kB / 1.383 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/1.176, allocations: 43.77 kB / 1.383 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/1.176, allocations: 12 kB / 1.383 GB, free: 9.188 MB / 1.107 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.0001547/1.176, allocations: 149.8 kB / 1.383 GB, free: 9.031 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/1.177, allocations: 27.62 kB / 1.383 GB, free: 9.004 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/1.177, allocations: 236.6 kB / 1.383 GB, free: 8.766 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.177, allocations: 0 / 1.383 GB, free: 8.766 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.177, allocations: 4 kB / 1.383 GB, free: 8.762 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.177, allocations: 4 kB / 1.383 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.178, allocations: 0.7029 MB / 1.384 GB, free: 7.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.178, allocations: 4 kB / 1.384 GB, free: 7.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/1.178, allocations: 35.97 kB / 1.384 GB, free: 7.938 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.178, allocations: 0 / 1.384 GB, free: 7.938 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/1.178, allocations: 11.94 kB / 1.384 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.178, allocations: 7.938 kB / 1.384 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.178, allocations: 0 / 1.384 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/1.179, allocations: 458.7 kB / 1.385 GB, free: 7.434 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.179, allocations: 124.6 kB / 1.385 GB, free: 7.293 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/1.179, allocations: 11.94 kB / 1.385 GB, free: 7.281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.179, allocations: 8 kB / 1.385 GB, free: 7.273 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/1.179, allocations: 11.98 kB / 1.385 GB, free: 7.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/1.179, allocations: 11.98 kB / 1.385 GB, free: 7.25 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002157/1.18, allocations: 231.1 kB / 1.385 GB, free: 7.023 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.51e-07/1.18, allocations: 8 kB / 1.385 GB, free: 7.016 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004044/1.18, allocations: 83.91 kB / 1.385 GB, free: 6.934 MB / 1.107 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.0003951/1.18, allocations: 159.4 kB / 1.385 GB, free: 6.773 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000441/1.181, allocations: 193.6 kB / 1.385 GB, free: 6.586 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.181, allocations: 0 / 1.385 GB, free: 6.586 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/1.181, allocations: 91.81 kB / 1.385 GB, free: 6.496 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/1.182, allocations: 175.9 kB / 1.386 GB, free: 6.328 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/1.183, allocations: 0.6201 MB / 1.386 GB, free: 5.66 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.183, allocations: 0.7834 MB / 1.387 GB, free: 4.852 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001759/1.184, allocations: 66.94 kB / 1.387 GB, free: 4.789 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/1.184, allocations: 23.44 kB / 1.387 GB, free: 4.766 MB / 1.107 GB Notification: Performance of SimCode: time 1.583e-06/1.184, allocations: 0 / 1.387 GB, free: 4.766 MB / 1.107 GB Notification: Performance of Templates: time 0.0111/1.195, allocations: 5.854 MB / 1.393 GB, free: 15.01 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) 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) Reference file matches