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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_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.001155/0.001155, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.001635/0.001636, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 68.11 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7779/0.7793, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.167/0.9463, allocations: 167.4 MB / 1.331 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.949, allocations: 1.558 MB / 1.332 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.9492, allocations: 15.88 kB / 1.332 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.9497, allocations: 146.9 kB / 1.332 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.9513, allocations: 0.7429 MB / 1.333 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.9526, allocations: 0.6031 MB / 1.334 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.9533, allocations: 0.7215 MB / 1.334 GB, free: 7.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.9537, allocations: 248.8 kB / 1.335 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.9543, allocations: 354.7 kB / 1.335 GB, free: 7.387 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.9545, allocations: 231 kB / 1.335 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.9546, allocations: 20 kB / 1.335 GB, free: 7.141 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.956, allocations: 0.8689 MB / 1.336 GB, free: 6.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.9561, allocations: 107.7 kB / 1.336 GB, free: 6.164 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.9562, allocations: 171.2 kB / 1.336 GB, free: 5.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.9572, allocations: 0.7343 MB / 1.337 GB, free: 5.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9573, allocations: 0 / 1.337 GB, free: 5.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9573, allocations: 0 / 1.337 GB, free: 5.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9573, allocations: 0 / 1.337 GB, free: 5.262 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.0009144/0.9582, allocations: 0.6584 MB / 1.338 GB, free: 4.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9582, allocations: 8.922 kB / 1.338 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.9594, allocations: 159.4 kB / 1.338 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.9599, allocations: 334.6 kB / 1.338 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.9599, allocations: 16.56 kB / 1.338 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.96, allocations: 31.94 kB / 1.338 GB, free: 3.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.9605, allocations: 289.8 kB / 1.339 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.9605, allocations: 0 / 1.339 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.9605, allocations: 8 kB / 1.339 GB, free: 3.668 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9605, allocations: 8 kB / 1.339 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.9609, allocations: 200.9 kB / 1.339 GB, free: 3.465 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.001533/0.9625, allocations: 1.227 MB / 1.34 GB, free: 2.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.9628, allocations: 146.5 kB / 1.34 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.963, allocations: 93.11 kB / 1.34 GB, free: 1.887 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.9636, allocations: 303.2 kB / 1.341 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.9636, allocations: 38.45 kB / 1.341 GB, free: 1.488 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.684e-06/0.9636, allocations: 0 / 1.341 GB, free: 1.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0007875/0.9644, allocations: 293.1 kB / 1.341 GB, free: 1.195 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.9645, allocations: 55.41 kB / 1.341 GB, free: 1.129 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.9648, allocations: 324.5 kB / 1.341 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.9648, allocations: 29.7 kB / 1.341 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.965, allocations: 180.2 kB / 1.341 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.9651, allocations: 63.09 kB / 1.341 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.9651, allocations: 49.7 kB / 1.341 GB, free: 480 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9653, allocations: 342.8 kB / 1.342 GB, free: 128 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.9655, allocations: 67.95 kB / 1.342 GB, free: 60 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.9657, allocations: 123.8 kB / 1.342 GB, free: 15.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.9661, allocations: 207.9 kB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9661, allocations: 0 / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004685/0.9666, allocations: 261 kB / 1.342 GB, free: 15.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9666, allocations: 10.66 kB / 1.342 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.9666, allocations: 0 / 1.342 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9666, allocations: 4 kB / 1.342 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.9669, allocations: 39.97 kB / 1.343 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9669, allocations: 7.938 kB / 1.343 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.9671, allocations: 35.67 kB / 1.343 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.9671, allocations: 12 kB / 1.343 GB, free: 15.33 MB / 1.076 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.0001461/0.9672, allocations: 153.8 kB / 1.343 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.9673, allocations: 31.62 kB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.9678, allocations: 232.6 kB / 1.343 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.9678, allocations: 7.984 kB / 1.343 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9679, allocations: 0 / 1.343 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.968, allocations: 116.7 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.968, allocations: 7.984 kB / 1.343 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9682, allocations: 8 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.9682, allocations: 19.92 kB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005412/0.9688, allocations: 276.7 kB / 1.343 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007391/0.9695, allocations: 484.2 kB / 1.344 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000173/0.9697, allocations: 79.91 kB / 1.344 GB, free: 13.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002463/0.97, allocations: 235 kB / 1.344 GB, free: 13.66 MB / 1.076 GB Notification: Performance of Backend: time 3.81e-07/0.97, allocations: 0 / 1.344 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.9713, allocations: 387.6 kB / 1.345 GB, free: 13.29 MB / 1.076 GB Notification: Performance of SimCode: time 0.001835/0.9732, allocations: 1.151 MB / 1.346 GB, free: 12.09 MB / 1.076 GB Notification: Performance of Templates: time 0.01414/0.9873, allocations: 8.023 MB / 1.353 GB, free: 4.164 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches