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.001317/0.001317, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001304/0.001304, allocations: 198.6 kB / 16.26 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.428/2.428, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7778, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2052/0.983, allocations: 165.1 MB / 1.11 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.9864, allocations: 1.552 MB / 1.112 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.9868, allocations: 7.938 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.9874, allocations: 123.2 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.9893, allocations: 0.6692 MB / 1.113 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.9909, allocations: 0.5542 MB / 1.113 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009116/0.9918, allocations: 0.7292 MB / 1.114 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.9922, allocations: 225.1 kB / 1.114 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.9929, allocations: 350.6 kB / 1.114 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.9932, allocations: 243 kB / 1.115 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.9933, allocations: 24 kB / 1.115 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.9948, allocations: 0.896 MB / 1.116 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.995, allocations: 111.6 kB / 1.116 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.9952, allocations: 171.2 kB / 1.116 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.9965, allocations: 0.7829 MB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9965, allocations: 0 / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9965, allocations: 4 kB / 1.117 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9965, allocations: 0 / 1.117 GB, free: 5.895 MB / 0.8731 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.001047/0.9976, allocations: 0.6622 MB / 1.117 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9976, allocations: 12.03 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.9988, allocations: 155.4 kB / 1.117 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.9993, allocations: 314.5 kB / 1.118 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.9994, allocations: 24.56 kB / 1.118 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.9994, allocations: 31.94 kB / 1.118 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/1, allocations: 273.9 kB / 1.118 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1, allocations: 3.938 kB / 1.118 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/1, allocations: 12 kB / 1.118 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1, allocations: 11.94 kB / 1.118 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/1, allocations: 208.7 kB / 1.118 GB, free: 4.098 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.001558/1.002, allocations: 1.223 MB / 1.119 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/1.002, allocations: 146.4 kB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.003, allocations: 100.8 kB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/1.003, allocations: 299.2 kB / 1.12 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.003, allocations: 38.56 kB / 1.12 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/1.003, allocations: 0 / 1.12 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007962/1.004, allocations: 291.3 kB / 1.12 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.004, allocations: 55.41 kB / 1.12 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/1.004, allocations: 320.5 kB / 1.121 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.005, allocations: 29.7 kB / 1.121 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.005, allocations: 184.2 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/1.005, allocations: 59.11 kB / 1.121 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/1.005, allocations: 45.64 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.005, allocations: 346.7 kB / 1.121 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.005, allocations: 67.95 kB / 1.121 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/1.005, allocations: 132.9 kB / 1.121 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/1.006, allocations: 195.1 kB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.006, allocations: 7.938 kB / 1.122 GB, free: 348 kB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005282/1.006, allocations: 253 kB / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.006, allocations: 4 kB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.006, allocations: 4 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.006, allocations: 0 / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/1.007, allocations: 47.91 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.007, allocations: 4 kB / 1.122 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/1.007, allocations: 39.94 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/1.007, allocations: 8 kB / 1.122 GB, free: 15.98 MB / 0.8887 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.0001638/1.007, allocations: 161.7 kB / 1.122 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/1.007, allocations: 27.62 kB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005468/1.008, allocations: 242.2 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.008, allocations: 3.984 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.008, allocations: 4 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.008, allocations: 0 / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.009, allocations: 0.7029 MB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.009, allocations: 7.984 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.009, allocations: 36.02 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.009, allocations: 3.938 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.009, allocations: 8 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.009, allocations: 7.938 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.009, allocations: 4.156 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/1.01, allocations: 443.1 kB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.01, allocations: 124.7 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/1.01, allocations: 8 kB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.01, allocations: 19.86 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/1.01, allocations: 23.98 kB / 1.124 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.01, allocations: 4 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000231/1.01, allocations: 231 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.342e-06/1.011, allocations: 0 / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003966/1.011, allocations: 87.84 kB / 1.124 GB, free: 13.71 MB / 0.8887 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.0004148/1.011, allocations: 170.1 kB / 1.124 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000459/1.012, allocations: 179.8 kB / 1.124 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.012, allocations: 4 kB / 1.124 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.012, allocations: 88.45 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/1.013, allocations: 183.3 kB / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/1.015, allocations: 0.7238 MB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/1.015, allocations: 0.7793 MB / 1.126 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002524/1.015, allocations: 70.92 kB / 1.126 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/1.015, allocations: 23.44 kB / 1.126 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/1.015, allocations: 0 / 1.126 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of Templates: time 0.01074/1.026, allocations: 5.739 MB / 1.132 GB, free: 5.793 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches