Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 181.5 kB / 498.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.2 MB / 0.7948 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008996, allocations: 106.7 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004548, allocations: 9.188 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.427, allocations: 397.3 MB / 1.611 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004546/1.427, allocations: 102.9 kB / 1.611 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4351/1.862, allocations: 179 MB / 1.786 GB, free: 9.922 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.345e-06/1.862, allocations: 0 / 1.786 GB, free: 9.922 MB / 1.089 GB Notification: Performance of Transformations before backend: time 6.729e-05/1.863, allocations: 12 kB / 1.786 GB, free: 9.91 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001841/1.864, allocations: 0.8253 MB / 1.787 GB, free: 9.031 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.864, allocations: 12.03 kB / 1.787 GB, free: 9.02 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/1.865, allocations: 59.3 kB / 1.787 GB, free: 8.961 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/1.866, allocations: 433.4 kB / 1.787 GB, free: 8.496 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/1.866, allocations: 20.44 kB / 1.787 GB, free: 8.473 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/1.866, allocations: 28 kB / 1.787 GB, free: 8.445 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/1.866, allocations: 211.2 kB / 1.787 GB, free: 8.234 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.866, allocations: 0 / 1.787 GB, free: 8.234 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/1.866, allocations: 12 kB / 1.787 GB, free: 8.223 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.866, allocations: 7.953 kB / 1.787 GB, free: 8.215 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/1.867, allocations: 177.6 kB / 1.787 GB, free: 8.039 MB / 1.089 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.001933/1.869, allocations: 0.9536 MB / 1.788 GB, free: 7.008 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/1.869, allocations: 138.5 kB / 1.789 GB, free: 6.863 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/1.869, allocations: 336.5 kB / 1.789 GB, free: 6.461 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.869, allocations: 30.56 kB / 1.789 GB, free: 6.422 MB / 1.089 GB Notification: Performance of pre-optimization done (n=14): time 2.083e-06/1.869, allocations: 4 kB / 1.789 GB, free: 6.418 MB / 1.089 GB Notification: Performance of matching and sorting (n=14): time 0.0006864/1.87, allocations: 245.1 kB / 1.789 GB, free: 6.172 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.87, allocations: 55.41 kB / 1.789 GB, free: 6.105 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/1.871, allocations: 429.1 kB / 1.79 GB, free: 5.676 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/1.871, allocations: 33.7 kB / 1.79 GB, free: 5.637 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/1.871, allocations: 228.6 kB / 1.79 GB, free: 5.41 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/1.871, allocations: 47.36 kB / 1.79 GB, free: 5.363 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.871, allocations: 0 / 1.79 GB, free: 5.363 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.871, allocations: 358.8 kB / 1.79 GB, free: 5.004 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/1.871, allocations: 63.95 kB / 1.79 GB, free: 4.941 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.872, allocations: 181.8 kB / 1.79 GB, free: 4.727 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/1.872, allocations: 97.05 kB / 1.791 GB, free: 4.633 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.872, allocations: 0 / 1.791 GB, free: 4.633 MB / 1.089 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005417/1.872, allocations: 258.2 kB / 1.791 GB, free: 4.375 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.873, allocations: 274.9 kB / 1.791 GB, free: 4.086 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.873, allocations: 0 / 1.791 GB, free: 4.086 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.873, allocations: 4 kB / 1.791 GB, free: 4.082 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.873, allocations: 51.91 kB / 1.791 GB, free: 4.031 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.873, allocations: 0 / 1.791 GB, free: 4.031 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/1.873, allocations: 51.69 kB / 1.791 GB, free: 3.98 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/1.873, allocations: 19.98 kB / 1.791 GB, free: 3.961 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.873, allocations: 4 kB / 1.791 GB, free: 3.957 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000414/1.874, allocations: 181.3 kB / 1.791 GB, free: 3.781 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/1.874, allocations: 4 kB / 1.791 GB, free: 3.777 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/1.874, allocations: 0 / 1.791 GB, free: 3.777 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.874, allocations: 51.91 kB / 1.791 GB, free: 3.727 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/1.874, allocations: 4 kB / 1.791 GB, free: 3.723 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/1.874, allocations: 43.8 kB / 1.791 GB, free: 3.68 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.874, allocations: 15.98 kB / 1.791 GB, free: 3.664 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.875, allocations: 249 kB / 1.792 GB, free: 3.41 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/1.875, allocations: 43.44 kB / 1.792 GB, free: 3.367 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/1.875, allocations: 261.1 kB / 1.792 GB, free: 3.105 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.875, allocations: 0 / 1.792 GB, free: 3.105 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.875, allocations: 0 / 1.792 GB, free: 3.105 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.875, allocations: 7.984 kB / 1.792 GB, free: 3.098 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.876, allocations: 0.7122 MB / 1.793 GB, free: 2.316 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.876, allocations: 4.188 kB / 1.793 GB, free: 2.312 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.877, allocations: 27.98 kB / 1.793 GB, free: 2.285 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.877, allocations: 4 kB / 1.793 GB, free: 2.281 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.877, allocations: 3.984 kB / 1.793 GB, free: 2.277 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.877, allocations: 4 kB / 1.793 GB, free: 2.273 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.877, allocations: 8.078 kB / 1.793 GB, free: 2.266 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/1.877, allocations: 402.3 kB / 1.793 GB, free: 1.82 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.877, allocations: 144.5 kB / 1.793 GB, free: 1.66 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/1.877, allocations: 12 kB / 1.793 GB, free: 1.648 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/1.878, allocations: 31.81 kB / 1.793 GB, free: 1.617 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/1.878, allocations: 15.98 kB / 1.793 GB, free: 1.602 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/1.878, allocations: 4 kB / 1.793 GB, free: 1.598 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.000376/1.878, allocations: 330.9 kB / 1.794 GB, free: 1.277 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.553e-06/1.878, allocations: 0 / 1.794 GB, free: 1.277 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0008587/1.879, allocations: 243.6 kB / 1.794 GB, free: 1.039 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/1.881, allocations: 0.5664 MB / 1.794 GB, free: 0.6094 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0007044/1.881, allocations: 283.7 kB / 1.795 GB, free: 340 kB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.881, allocations: 0 / 1.795 GB, free: 340 kB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/1.881, allocations: 95.81 kB / 1.795 GB, free: 244 kB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.883, allocations: 210.8 kB / 1.795 GB, free: 36 kB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.884, allocations: 0.8523 MB / 1.796 GB, free: 15.14 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/1.885, allocations: 0.835 MB / 1.797 GB, free: 14.28 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0003984/1.885, allocations: 99.16 kB / 1.797 GB, free: 14.18 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/1.885, allocations: 43.42 kB / 1.797 GB, free: 14.14 MB / 1.104 GB Notification: Performance of SimCode: time 9.72e-07/1.885, allocations: 0 / 1.797 GB, free: 14.14 MB / 1.104 GB Notification: Performance of Templates: time 0.01781/1.903, allocations: 9.258 MB / 1.806 GB, free: 4.992 MB / 1.104 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches