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.001295/0.001295, allocations: 116 kB / 16.42 MB, free: 6.48 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.001241/0.001241, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.383/2.383, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7725, allocations: 151.6 MB / 1.167 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1755/0.9481, allocations: 167.4 MB / 1.331 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.9509, allocations: 1.555 MB / 1.332 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.9511, allocations: 11.94 kB / 1.332 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.9516, allocations: 162.8 kB / 1.332 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.9534, allocations: 0.739 MB / 1.333 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.9548, allocations: 0.6069 MB / 1.334 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.9556, allocations: 0.7177 MB / 1.335 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.9561, allocations: 240.8 kB / 1.335 GB, free: 7.961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.9569, allocations: 362.7 kB / 1.335 GB, free: 7.605 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.9572, allocations: 219.1 kB / 1.335 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.9573, allocations: 27.94 kB / 1.335 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.9588, allocations: 0.8767 MB / 1.336 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.959, allocations: 103.7 kB / 1.336 GB, free: 6.383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.9592, allocations: 175.1 kB / 1.336 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.9604, allocations: 0.7331 MB / 1.337 GB, free: 5.477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9604, allocations: 0 / 1.337 GB, free: 5.477 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9604, allocations: 0 / 1.337 GB, free: 5.477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.9604, allocations: 0 / 1.337 GB, free: 5.477 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.000939/0.9614, allocations: 0.681 MB / 1.338 GB, free: 4.746 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9614, allocations: 8.922 kB / 1.338 GB, free: 4.738 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.9626, allocations: 155.6 kB / 1.338 GB, free: 4.586 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.9631, allocations: 330.9 kB / 1.338 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.9631, allocations: 16.56 kB / 1.338 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.9632, allocations: 35.83 kB / 1.338 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.9637, allocations: 285.8 kB / 1.339 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9637, allocations: 0 / 1.339 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.9637, allocations: 15.98 kB / 1.339 GB, free: 3.859 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9637, allocations: 4 kB / 1.339 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.9641, allocations: 200.9 kB / 1.339 GB, free: 3.66 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.001323/0.9655, allocations: 1.223 MB / 1.34 GB, free: 2.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.9658, allocations: 154.4 kB / 1.34 GB, free: 2.172 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.966, allocations: 96.8 kB / 1.34 GB, free: 2.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.9665, allocations: 303.2 kB / 1.341 GB, free: 1.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.9666, allocations: 34.56 kB / 1.341 GB, free: 1.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.9666, allocations: 0 / 1.341 GB, free: 1.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0007731/0.9674, allocations: 301.5 kB / 1.341 GB, free: 1.379 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.9674, allocations: 51.41 kB / 1.341 GB, free: 1.316 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.9677, allocations: 324.5 kB / 1.341 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.9677, allocations: 29.7 kB / 1.341 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.9679, allocations: 180.3 kB / 1.341 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.9679, allocations: 67.42 kB / 1.341 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.968, allocations: 45.7 kB / 1.342 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9681, allocations: 346.8 kB / 1.342 GB, free: 316 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.9683, allocations: 67.94 kB / 1.342 GB, free: 248 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.9685, allocations: 127.5 kB / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.9689, allocations: 203.7 kB / 1.342 GB, free: 15.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9689, allocations: 0 / 1.342 GB, free: 15.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004679/0.9694, allocations: 253.2 kB / 1.342 GB, free: 15.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9694, allocations: 12.09 kB / 1.343 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9694, allocations: 0 / 1.343 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9694, allocations: 4 kB / 1.343 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.9696, allocations: 47.91 kB / 1.343 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.9697, allocations: 0 / 1.343 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.9699, allocations: 35.77 kB / 1.343 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.9699, allocations: 12 kB / 1.343 GB, free: 15.52 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.000135/0.97, allocations: 149.7 kB / 1.343 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.9701, allocations: 43.7 kB / 1.343 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.9706, allocations: 231.2 kB / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9706, allocations: 3.984 kB / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9706, allocations: 0 / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.9707, allocations: 112.9 kB / 1.343 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.9708, allocations: 8 kB / 1.343 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.9709, allocations: 11.98 kB / 1.343 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.971, allocations: 11.92 kB / 1.343 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005056/0.9715, allocations: 280.7 kB / 1.343 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006371/0.9721, allocations: 484.2 kB / 1.344 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001727/0.9723, allocations: 80.03 kB / 1.344 GB, free: 14.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002073/0.9725, allocations: 235 kB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of Backend: time 7.81e-07/0.9726, allocations: 0 / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.9737, allocations: 397.2 kB / 1.345 GB, free: 13.46 MB / 1.076 GB Notification: Performance of SimCode: time 0.001408/0.9751, allocations: 1.135 MB / 1.346 GB, free: 12.29 MB / 1.076 GB Notification: Performance of Templates: time 0.01287/0.988, allocations: 8.028 MB / 1.353 GB, free: 4.355 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