Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.513/2.513, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001487/0.001488, allocations: 187.9 kB / 0.4902 GB, free: 2.215 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.721/1.721, allocations: 223.2 MB / 0.7992 GB, free: 14.64 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.001083/0.001083, allocations: 108.2 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 8 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.387, allocations: 398.1 MB / 1.618 GB, free: 14.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.387, allocations: 99.91 kB / 1.618 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4001/1.787, allocations: 179 MB / 1.793 GB, free: 12.9 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.403e-06/1.787, allocations: 0 / 1.793 GB, free: 12.9 MB / 1.104 GB Notification: Performance of Transformations before backend: time 6.64e-05/1.787, allocations: 12 kB / 1.793 GB, free: 12.89 MB / 1.104 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.001652/1.789, allocations: 0.8344 MB / 1.794 GB, free: 12 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.789, allocations: 8.031 kB / 1.794 GB, free: 11.99 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/1.789, allocations: 63.28 kB / 1.794 GB, free: 11.93 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/1.79, allocations: 433.4 kB / 1.794 GB, free: 11.46 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.79, allocations: 20.44 kB / 1.794 GB, free: 11.45 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/1.79, allocations: 28 kB / 1.794 GB, free: 11.42 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/1.791, allocations: 215.2 kB / 1.794 GB, free: 11.2 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.791, allocations: 0 / 1.794 GB, free: 11.2 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/1.791, allocations: 4 kB / 1.794 GB, free: 11.2 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.791, allocations: 15.94 kB / 1.794 GB, free: 11.18 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/1.791, allocations: 173.6 kB / 1.795 GB, free: 11.01 MB / 1.104 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.001729/1.793, allocations: 0.942 MB / 1.796 GB, free: 9.988 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/1.793, allocations: 134.6 kB / 1.796 GB, free: 9.848 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/1.793, allocations: 340.5 kB / 1.796 GB, free: 9.441 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.793, allocations: 34.56 kB / 1.796 GB, free: 9.398 MB / 1.104 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/1.793, allocations: 0 / 1.796 GB, free: 9.398 MB / 1.104 GB Notification: Performance of matching and sorting (n=14): time 0.0006416/1.794, allocations: 253 kB / 1.796 GB, free: 9.145 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.794, allocations: 59.66 kB / 1.796 GB, free: 9.074 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/1.795, allocations: 421.1 kB / 1.797 GB, free: 8.652 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/1.795, allocations: 33.7 kB / 1.797 GB, free: 8.613 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/1.795, allocations: 228.6 kB / 1.797 GB, free: 8.387 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/1.795, allocations: 39.36 kB / 1.797 GB, free: 8.348 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/1.795, allocations: 8 kB / 1.797 GB, free: 8.34 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.795, allocations: 362.7 kB / 1.797 GB, free: 7.977 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/1.795, allocations: 67.97 kB / 1.797 GB, free: 7.91 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/1.796, allocations: 179 kB / 1.798 GB, free: 7.695 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.796, allocations: 90.3 kB / 1.798 GB, free: 7.609 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.796, allocations: 3.938 kB / 1.798 GB, free: 7.605 MB / 1.104 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005152/1.796, allocations: 261 kB / 1.798 GB, free: 7.344 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.796, allocations: 275.7 kB / 1.798 GB, free: 7.055 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.796, allocations: 4 kB / 1.798 GB, free: 7.051 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.796, allocations: 0 / 1.798 GB, free: 7.051 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.797, allocations: 43.97 kB / 1.798 GB, free: 7.008 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.797, allocations: 4 kB / 1.798 GB, free: 7.004 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/1.797, allocations: 51.66 kB / 1.798 GB, free: 6.953 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.797, allocations: 15.98 kB / 1.798 GB, free: 6.938 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.797, allocations: 4 kB / 1.798 GB, free: 6.934 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004169/1.798, allocations: 192.6 kB / 1.798 GB, free: 6.746 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/1.798, allocations: 4 kB / 1.798 GB, free: 6.742 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/1.798, allocations: 4 kB / 1.798 GB, free: 6.738 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.798, allocations: 43.97 kB / 1.799 GB, free: 6.695 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/1.798, allocations: 0 / 1.799 GB, free: 6.695 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/1.798, allocations: 55.8 kB / 1.799 GB, free: 6.641 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/1.798, allocations: 12 kB / 1.799 GB, free: 6.629 MB / 1.104 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.0002216/1.798, allocations: 249 kB / 1.799 GB, free: 6.375 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/1.799, allocations: 43.44 kB / 1.799 GB, free: 6.332 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/1.799, allocations: 254.6 kB / 1.799 GB, free: 6.078 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-06/1.799, allocations: 7.984 kB / 1.799 GB, free: 6.07 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.799, allocations: 0 / 1.799 GB, free: 6.07 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.799, allocations: 0 / 1.799 GB, free: 6.07 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.8, allocations: 0.7178 MB / 1.8 GB, free: 5.285 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.8, allocations: 0 / 1.8 GB, free: 5.285 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.8, allocations: 39.92 kB / 1.8 GB, free: 5.246 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.8, allocations: 4.125 kB / 1.8 GB, free: 5.242 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.8, allocations: 4 kB / 1.8 GB, free: 5.238 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.8, allocations: 11.86 kB / 1.8 GB, free: 5.227 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.8, allocations: 7.953 kB / 1.8 GB, free: 5.219 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/1.801, allocations: 389.2 kB / 1.8 GB, free: 4.785 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.801, allocations: 148.5 kB / 1.8 GB, free: 4.621 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/1.801, allocations: 0 / 1.8 GB, free: 4.621 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.801, allocations: 31.91 kB / 1.8 GB, free: 4.59 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/1.802, allocations: 15.92 kB / 1.8 GB, free: 4.574 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/1.802, allocations: 11.98 kB / 1.8 GB, free: 4.562 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0003676/1.802, allocations: 330.9 kB / 1.801 GB, free: 4.242 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.11e-07/1.802, allocations: 0 / 1.801 GB, free: 4.242 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0008001/1.803, allocations: 231.6 kB / 1.801 GB, free: 4.016 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 (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.001297/1.804, allocations: 0.5739 MB / 1.802 GB, free: 3.578 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0006663/1.805, allocations: 287.6 kB / 1.802 GB, free: 3.297 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.805, allocations: 0 / 1.802 GB, free: 3.297 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/1.805, allocations: 87.89 kB / 1.802 GB, free: 3.211 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/1.806, allocations: 217.3 kB / 1.802 GB, free: 3 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.807, allocations: 0.8493 MB / 1.803 GB, free: 2.105 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.808, allocations: 0.8388 MB / 1.804 GB, free: 1.238 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0003224/1.808, allocations: 95.53 kB / 1.804 GB, free: 1.145 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/1.808, allocations: 31.44 kB / 1.804 GB, free: 1.113 MB / 1.104 GB Notification: Performance of SimCode: time 3.81e-07/1.808, allocations: 3.938 kB / 1.804 GB, free: 1.109 MB / 1.104 GB Notification: Performance of Templates: time 0.0163/1.824, allocations: 9.258 MB / 1.813 GB, free: 7.965 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches