Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001523/0.001523, allocations: 173.2 kB / 498.1 MB, free: 5.75 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.801/1.801, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001067/0.001067, allocations: 106 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 10.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3559, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.491, allocations: 401.8 MB / 1.615 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005248/1.492, allocations: 102.8 kB / 1.615 GB, free: 9.871 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4131/1.905, allocations: 179.1 MB / 1.79 GB, free: 5.387 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.073e-06/1.905, allocations: 0 / 1.79 GB, free: 5.387 MB / 1.089 GB Notification: Performance of Transformations before backend: time 5.686e-05/1.905, allocations: 20.16 kB / 1.79 GB, free: 5.367 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001538/1.906, allocations: 0.8758 MB / 1.791 GB, free: 4.438 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.906, allocations: 12.03 kB / 1.791 GB, free: 4.426 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/1.907, allocations: 67.2 kB / 1.791 GB, free: 4.359 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/1.907, allocations: 453.4 kB / 1.792 GB, free: 3.879 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.907, allocations: 20.56 kB / 1.792 GB, free: 3.859 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/1.908, allocations: 28 kB / 1.792 GB, free: 3.832 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/1.908, allocations: 290.2 kB / 1.792 GB, free: 3.531 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.908, allocations: 0 / 1.792 GB, free: 3.531 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/1.908, allocations: 12 kB / 1.792 GB, free: 3.52 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/1.908, allocations: 11.95 kB / 1.792 GB, free: 3.508 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/1.909, allocations: 198 kB / 1.792 GB, free: 3.309 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.00206/1.911, allocations: 1.507 MB / 1.794 GB, free: 1.695 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.911, allocations: 166.8 kB / 1.794 GB, free: 1.523 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/1.912, allocations: 1.3 MB / 1.795 GB, free: 32 kB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.912, allocations: 38.61 kB / 1.795 GB, free: 15.98 MB / 1.104 GB Notification: Performance of pre-optimization done (n=15): time 2.043e-06/1.913, allocations: 0 / 1.795 GB, free: 15.98 MB / 1.104 GB Notification: Performance of matching and sorting (n=15): time 0.0006033/1.913, allocations: 260.4 kB / 1.795 GB, free: 15.73 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.913, allocations: 51.41 kB / 1.795 GB, free: 15.66 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/1.914, allocations: 0.5214 MB / 1.796 GB, free: 15.14 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.914, allocations: 29.7 kB / 1.796 GB, free: 15.1 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/1.914, allocations: 268.2 kB / 1.796 GB, free: 14.83 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/1.914, allocations: 59.19 kB / 1.796 GB, free: 14.77 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.914, allocations: 8 kB / 1.796 GB, free: 14.77 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.914, allocations: 354.8 kB / 1.797 GB, free: 14.41 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.915, allocations: 80.5 kB / 1.797 GB, free: 14.33 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/1.915, allocations: 225.4 kB / 1.797 GB, free: 14.05 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/1.915, allocations: 104.9 kB / 1.797 GB, free: 13.95 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.915, allocations: 8 kB / 1.797 GB, free: 13.94 MB / 1.104 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005476/1.916, allocations: 313.7 kB / 1.797 GB, free: 13.63 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003659/1.916, allocations: 0.9605 MB / 1.798 GB, free: 12.59 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.916, allocations: 4 kB / 1.798 GB, free: 12.59 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.916, allocations: 4 kB / 1.798 GB, free: 12.59 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.916, allocations: 71.89 kB / 1.798 GB, free: 12.52 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.916, allocations: 7.938 kB / 1.798 GB, free: 12.51 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/1.917, allocations: 51.66 kB / 1.798 GB, free: 12.46 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/1.917, allocations: 16 kB / 1.798 GB, free: 12.44 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.917, allocations: 4 kB / 1.798 GB, free: 12.44 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004979/1.917, allocations: 240.6 kB / 1.799 GB, free: 12.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.917, allocations: 3.984 kB / 1.799 GB, free: 12.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/1.917, allocations: 8 kB / 1.799 GB, free: 12.19 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.918, allocations: 67.91 kB / 1.799 GB, free: 12.12 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.918, allocations: 4 kB / 1.799 GB, free: 12.12 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/1.918, allocations: 47.84 kB / 1.799 GB, free: 12.07 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/1.918, allocations: 19.94 kB / 1.799 GB, free: 12.05 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.000284/1.918, allocations: 264.9 kB / 1.799 GB, free: 11.79 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.918, allocations: 47.44 kB / 1.799 GB, free: 11.74 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/1.919, allocations: 270.8 kB / 1.799 GB, free: 11.46 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.919, allocations: 4 kB / 1.799 GB, free: 11.46 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.919, allocations: 3.984 kB / 1.799 GB, free: 11.46 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.919, allocations: 0 / 1.799 GB, free: 11.46 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/1.92, allocations: 0.7591 MB / 1.8 GB, free: 10.63 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.92, allocations: 192 / 1.8 GB, free: 10.63 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.92, allocations: 36.11 kB / 1.8 GB, free: 10.59 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.92, allocations: 0 / 1.8 GB, free: 10.59 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.92, allocations: 7.984 kB / 1.8 GB, free: 10.59 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/1.92, allocations: 7.938 kB / 1.8 GB, free: 10.58 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.92, allocations: 0 / 1.8 GB, free: 10.58 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/1.921, allocations: 419.1 kB / 1.801 GB, free: 10.12 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/1.921, allocations: 156.4 kB / 1.801 GB, free: 9.945 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/1.921, allocations: 4 kB / 1.801 GB, free: 9.941 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/1.921, allocations: 19.97 kB / 1.801 GB, free: 9.922 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/1.921, allocations: 27.88 kB / 1.801 GB, free: 9.895 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.921, allocations: 4 kB / 1.801 GB, free: 9.891 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0005027/1.922, allocations: 414.8 kB / 1.801 GB, free: 9.488 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.81e-07/1.922, allocations: 0 / 1.801 GB, free: 9.488 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0009885/1.923, allocations: 267.6 kB / 1.801 GB, free: 9.227 MB / 1.104 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 (17): * Single equations (assignments): 15 * 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.00146/1.924, allocations: 0.6087 MB / 1.802 GB, free: 8.746 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0007766/1.925, allocations: 347 kB / 1.802 GB, free: 8.41 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.925, allocations: 0 / 1.802 GB, free: 8.41 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.925, allocations: 97.52 kB / 1.802 GB, free: 8.316 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.927, allocations: 254.3 kB / 1.803 GB, free: 8.074 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.928, allocations: 0.9724 MB / 1.804 GB, free: 7.059 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/1.929, allocations: 0.8548 MB / 1.804 GB, free: 6.176 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0004009/1.929, allocations: 100.3 kB / 1.805 GB, free: 6.078 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.929, allocations: 43.42 kB / 1.805 GB, free: 6.035 MB / 1.104 GB Notification: Performance of SimCode: time 8.42e-07/1.929, allocations: 4 kB / 1.805 GB, free: 6.031 MB / 1.104 GB Notification: Performance of Templates: time 0.01893/1.948, allocations: 11.02 MB / 1.815 GB, free: 11.13 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches