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.001469/0.001469, allocations: 104.6 kB / 16.4 MB, free: 6.422 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.001548/0.001548, allocations: 192.2 kB / 17.34 MB, free: 5.691 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.07 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.333/2.333, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6939, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.154/0.848, allocations: 167.4 MB / 1.331 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.8504, allocations: 1.554 MB / 1.332 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.8508, allocations: 11.94 kB / 1.332 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.8513, allocations: 150.8 kB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.8528, allocations: 0.7507 MB / 1.333 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.8543, allocations: 0.6028 MB / 1.334 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.8551, allocations: 0.7137 MB / 1.334 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.8555, allocations: 240.8 kB / 1.335 GB, free: 7.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.8562, allocations: 362.7 kB / 1.335 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.8564, allocations: 223 kB / 1.335 GB, free: 7.156 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.8565, allocations: 24 kB / 1.335 GB, free: 7.133 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.8577, allocations: 0.8767 MB / 1.336 GB, free: 6.254 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.8579, allocations: 115.6 kB / 1.336 GB, free: 6.141 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.858, allocations: 167.2 kB / 1.336 GB, free: 5.977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009433/0.859, allocations: 0.7366 MB / 1.337 GB, free: 5.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.859, allocations: 0 / 1.337 GB, free: 5.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.859, allocations: 3.938 kB / 1.337 GB, free: 5.238 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.859, allocations: 0 / 1.337 GB, free: 5.238 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.0008835/0.8599, allocations: 0.6733 MB / 1.338 GB, free: 4.516 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.8599, allocations: 12.92 kB / 1.338 GB, free: 4.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.861, allocations: 159.6 kB / 1.338 GB, free: 4.348 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.8615, allocations: 326.9 kB / 1.338 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.8615, allocations: 20.5 kB / 1.338 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.8616, allocations: 31.89 kB / 1.338 GB, free: 3.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.862, allocations: 281.9 kB / 1.339 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.862, allocations: 0 / 1.339 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.8621, allocations: 8 kB / 1.339 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.8621, allocations: 12 kB / 1.339 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.8625, allocations: 204.9 kB / 1.339 GB, free: 3.426 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.001243/0.8637, allocations: 1.219 MB / 1.34 GB, free: 2.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.864, allocations: 150.4 kB / 1.34 GB, free: 1.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.8642, allocations: 104.7 kB / 1.34 GB, free: 1.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/0.8647, allocations: 299.2 kB / 1.341 GB, free: 1.492 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8647, allocations: 30.56 kB / 1.341 GB, free: 1.453 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.8647, allocations: 0 / 1.341 GB, free: 1.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0007275/0.8655, allocations: 296.2 kB / 1.341 GB, free: 1.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.8655, allocations: 55.41 kB / 1.341 GB, free: 1.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.8658, allocations: 328.5 kB / 1.341 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8658, allocations: 29.7 kB / 1.341 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.8659, allocations: 184.3 kB / 1.341 GB, free: 0.543 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.866, allocations: 67.44 kB / 1.341 GB, free: 488 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.8661, allocations: 41.7 kB / 1.342 GB, free: 440 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.8662, allocations: 342.8 kB / 1.342 GB, free: 88 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.8663, allocations: 75.88 kB / 1.342 GB, free: 12 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.8665, allocations: 123.7 kB / 1.342 GB, free: 15.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.8669, allocations: 193.1 kB / 1.342 GB, free: 15.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.8669, allocations: 3.938 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004333/0.8673, allocations: 265.2 kB / 1.342 GB, free: 15.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8674, allocations: 8 kB / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.8674, allocations: 0 / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8674, allocations: 4 kB / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.8676, allocations: 39.92 kB / 1.343 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.8676, allocations: 7.984 kB / 1.343 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8678, allocations: 35.72 kB / 1.343 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.8678, allocations: 16.08 kB / 1.343 GB, free: 15.29 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.0001231/0.868, allocations: 155.9 kB / 1.343 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.868, allocations: 35.77 kB / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.8684, allocations: 228.6 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.8685, allocations: 7.938 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8685, allocations: 0 / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8685, allocations: 0 / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.8694, allocations: 0.7071 MB / 1.344 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8694, allocations: 4.031 kB / 1.344 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.8696, allocations: 35.92 kB / 1.344 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.8696, allocations: 4 kB / 1.344 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.8696, allocations: 8 kB / 1.344 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.8696, allocations: 7.938 kB / 1.344 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8696, allocations: 4 kB / 1.344 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.8702, allocations: 451.6 kB / 1.344 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.8703, allocations: 129 kB / 1.344 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.8704, allocations: 8 kB / 1.344 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.8706, allocations: 11.92 kB / 1.344 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.8706, allocations: 19.92 kB / 1.344 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.8706, allocations: 4 kB / 1.344 GB, free: 13.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001934/0.8708, allocations: 235 kB / 1.345 GB, free: 13.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8708, allocations: 0 / 1.345 GB, free: 13.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003597/0.8712, allocations: 83.83 kB / 1.345 GB, free: 13.04 MB / 1.076 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.0003962/0.8716, allocations: 178.8 kB / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.872, allocations: 175.8 kB / 1.345 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.872, allocations: 8.188 kB / 1.345 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.8722, allocations: 91.83 kB / 1.345 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.873, allocations: 169.9 kB / 1.345 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.8739, allocations: 0.666 MB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.8742, allocations: 0.7756 MB / 1.347 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.8743, allocations: 31.44 kB / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of SimCode: time 2.1e-07/0.8743, allocations: 0 / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of Templates: time 0.006722/0.881, allocations: 4.952 MB / 1.352 GB, free: 5.973 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