Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001633/0.001633, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001944/0.001944, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.14 kB / 0.8127 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6828/0.9771, allocations: 165.1 MB / 1.111 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.9805, allocations: 1.548 MB / 1.113 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.981, allocations: 13.92 kB / 1.113 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.9816, allocations: 127.8 kB / 1.113 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.9838, allocations: 0.6596 MB / 1.113 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.9858, allocations: 0.5594 MB / 1.114 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.987, allocations: 0.7236 MB / 1.115 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.9874, allocations: 225.2 kB / 1.115 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009584/0.9884, allocations: 354.4 kB / 1.115 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.9889, allocations: 243.2 kB / 1.115 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.989, allocations: 23 kB / 1.115 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.9918, allocations: 0.8993 MB / 1.116 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.9921, allocations: 109.5 kB / 1.116 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.9924, allocations: 171.2 kB / 1.117 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.9935, allocations: 0.5075 MB / 1.117 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9935, allocations: 0 / 1.117 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.51e-06/0.9935, allocations: 1.438 kB / 1.117 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.9936, allocations: 7.734 kB / 1.117 GB, free: 5.832 MB / 0.8575 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.001376/0.9949, allocations: 0.6594 MB / 1.118 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.995, allocations: 9.531 kB / 1.118 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.9963, allocations: 154.7 kB / 1.118 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.9968, allocations: 316.5 kB / 1.118 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.9968, allocations: 21.53 kB / 1.118 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.9969, allocations: 26.59 kB / 1.118 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.9975, allocations: 282.3 kB / 1.118 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.9975, allocations: 0 / 1.118 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.9975, allocations: 11.5 kB / 1.118 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.9975, allocations: 6.469 kB / 1.118 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.998, allocations: 206.7 kB / 1.119 GB, free: 21 MB / 0.8731 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.001508/0.9995, allocations: 1.223 MB / 1.12 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.9998, allocations: 154.2 kB / 1.12 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1, allocations: 95.98 kB / 1.12 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/1.001, allocations: 299.7 kB / 1.12 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.001, allocations: 39.44 kB / 1.12 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/1.001, allocations: 0 / 1.12 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.000849/1.002, allocations: 294.6 kB / 1.121 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/1.002, allocations: 54.66 kB / 1.121 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/1.002, allocations: 323.9 kB / 1.121 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/1.002, allocations: 30.83 kB / 1.121 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.002, allocations: 180.4 kB / 1.121 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/1.002, allocations: 63.27 kB / 1.121 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/1.002, allocations: 44.64 kB / 1.121 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.003, allocations: 343.3 kB / 1.122 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.003, allocations: 66.83 kB / 1.122 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/1.003, allocations: 133.3 kB / 1.122 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/1.003, allocations: 199.8 kB / 1.122 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.003, allocations: 1.656 kB / 1.122 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005002/1.004, allocations: 254.6 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.004, allocations: 4.938 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.004, allocations: 2.094 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.004, allocations: 2.656 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.004, allocations: 47.61 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.004, allocations: 10.95 kB / 1.122 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/1.004, allocations: 37.2 kB / 1.122 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/1.004, allocations: 7.875 kB / 1.122 GB, free: 18.89 MB / 0.8731 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.0001704/1.005, allocations: 155.7 kB / 1.123 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/1.005, allocations: 30.27 kB / 1.123 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/1.005, allocations: 237.6 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.005, allocations: 4.609 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.005, allocations: 0 / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.005, allocations: 1.984 kB / 1.123 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.006, allocations: 0.7073 MB / 1.124 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.006, allocations: 2.375 kB / 1.124 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.007, allocations: 39.61 kB / 1.124 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.007, allocations: 2.906 kB / 1.124 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/1.007, allocations: 3.688 kB / 1.124 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/1.007, allocations: 14.72 kB / 1.124 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.007, allocations: 2.312 kB / 1.124 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/1.007, allocations: 448.8 kB / 1.124 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.007, allocations: 121.3 kB / 1.124 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/1.008, allocations: 7.734 kB / 1.124 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.008, allocations: 16.17 kB / 1.124 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/1.008, allocations: 20.45 kB / 1.124 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/1.008, allocations: 6.281 kB / 1.124 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002602/1.008, allocations: 231.8 kB / 1.124 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.008, allocations: 2.531 kB / 1.124 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004855/1.009, allocations: 85.06 kB / 1.125 GB, free: 17.92 MB / 0.8731 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.0004232/1.009, allocations: 164.3 kB / 1.125 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004943/1.01, allocations: 192.4 kB / 1.125 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.01, allocations: 5.141 kB / 1.125 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/1.01, allocations: 98.33 kB / 1.125 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/1.011, allocations: 172 kB / 1.125 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.012, allocations: 0.754 MB / 1.126 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.012, allocations: 0.7818 MB / 1.127 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.012, allocations: 27.75 kB / 1.127 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/1.012, allocations: 0 / 1.127 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.009186/1.022, allocations: 4.932 MB / 1.131 GB, free: 16.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches