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.001534/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002529/0.002529, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.693/2.693, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.91 kB / 0.8685 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.747, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1941/0.9412, allocations: 165.2 MB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003221/0.9444, allocations: 1.562 MB / 1.179 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.945, allocations: 15.88 kB / 1.179 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.9457, allocations: 119.2 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.948, allocations: 0.6691 MB / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.9499, allocations: 0.5506 MB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.9512, allocations: 0.9828 MB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.9517, allocations: 209.1 kB / 1.182 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009071/0.9526, allocations: 314.7 kB / 1.182 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.9531, allocations: 243 kB / 1.182 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.9531, allocations: 16 kB / 1.182 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.9551, allocations: 1.005 MB / 1.183 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.9553, allocations: 115.6 kB / 1.184 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.9556, allocations: 155.2 kB / 1.184 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.9572, allocations: 0.7791 MB / 1.184 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9572, allocations: 0 / 1.184 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9572, allocations: 0 / 1.184 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.9573, allocations: 0 / 1.184 GB, free: 6.223 MB / 0.9356 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.001304/0.9586, allocations: 0.6661 MB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9586, allocations: 8.031 kB / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.96, allocations: 159.4 kB / 1.185 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.9605, allocations: 306.7 kB / 1.186 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.9605, allocations: 16.56 kB / 1.186 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.9606, allocations: 27.94 kB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.9611, allocations: 289.8 kB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9611, allocations: 0 / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.9611, allocations: 12 kB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.9612, allocations: 4 kB / 1.186 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.9616, allocations: 196.9 kB / 1.186 GB, free: 4.449 MB / 0.9356 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.001589/0.9632, allocations: 1.23 MB / 1.187 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.9636, allocations: 164.2 kB / 1.187 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.9638, allocations: 92.8 kB / 1.188 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.9645, allocations: 303.2 kB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.9645, allocations: 34.56 kB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.9645, allocations: 0 / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.000856/0.9654, allocations: 297.3 kB / 1.188 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.9654, allocations: 51.41 kB / 1.188 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.9658, allocations: 324.5 kB / 1.189 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.9658, allocations: 29.7 kB / 1.189 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.966, allocations: 188 kB / 1.189 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.966, allocations: 55.2 kB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.9661, allocations: 53.61 kB / 1.189 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9663, allocations: 342.8 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.9665, allocations: 67.94 kB / 1.189 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.9667, allocations: 121.1 kB / 1.189 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.967, allocations: 198.9 kB / 1.19 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.967, allocations: 3.938 kB / 1.19 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004778/0.9675, allocations: 253.1 kB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.9676, allocations: 9.969 kB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9676, allocations: 0 / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9676, allocations: 4 kB / 1.19 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.9678, allocations: 43.92 kB / 1.19 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.9678, allocations: 3.984 kB / 1.19 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.9681, allocations: 39.67 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.9681, allocations: 8 kB / 1.19 GB, free: 316 kB / 0.9356 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.0001414/0.9683, allocations: 157.7 kB / 1.19 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.9683, allocations: 31.62 kB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.9688, allocations: 224.8 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9688, allocations: 4 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.9688, allocations: 3.984 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.9688, allocations: 0 / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9699, allocations: 0.7068 MB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9699, allocations: 4.359 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.9701, allocations: 39.92 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.9701, allocations: 7.984 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.9702, allocations: 11.94 kB / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.9702, allocations: 8.016 kB / 1.191 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9702, allocations: 7.938 kB / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.9708, allocations: 446.4 kB / 1.191 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.971, allocations: 120.8 kB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.971, allocations: 12.06 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.9712, allocations: 19.86 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.9713, allocations: 15.97 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.9713, allocations: 8 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002168/0.9715, allocations: 239 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9715, allocations: 0 / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003975/0.9719, allocations: 76 kB / 1.192 GB, free: 14.04 MB / 0.9512 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.0003923/0.9723, allocations: 165.3 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.9728, allocations: 180.7 kB / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9728, allocations: 0 / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.973, allocations: 95.81 kB / 1.192 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.9739, allocations: 170 kB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.975, allocations: 0.7134 MB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.9755, allocations: 0.7876 MB / 1.194 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.9757, allocations: 62.92 kB / 1.194 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.9758, allocations: 27.44 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9758, allocations: 0 / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.0112/0.987, allocations: 5.543 MB / 1.199 GB, free: 6.34 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches