Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.0009927/0.0009928, allocations: 184.2 kB / 492.3 MB, free: 0.6055 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.423/1.423, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009534/0.0009534, allocations: 98.45 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.714e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.362, allocations: 394.9 MB / 1.598 GB, free: 3.094 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/1.362, allocations: 93.88 kB / 1.598 GB, free: 3.043 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.129/2.492, allocations: 240.7 MB / 1.833 GB, free: 364.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.082e-06/2.492, allocations: 3.188 kB / 1.833 GB, free: 364.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.391e-05/2.492, allocations: 23 kB / 1.833 GB, free: 364.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00141/2.493, allocations: 0.9653 MB / 1.834 GB, free: 364 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/2.493, allocations: 17.11 kB / 1.834 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/2.493, allocations: 81.77 kB / 1.834 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/2.494, allocations: 0.5084 MB / 1.835 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/2.494, allocations: 37.75 kB / 1.835 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/2.494, allocations: 52.06 kB / 1.835 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/2.495, allocations: 0.5746 MB / 1.835 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/2.495, allocations: 7.875 kB / 1.835 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/2.495, allocations: 15.91 kB / 1.835 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/2.495, allocations: 17.06 kB / 1.835 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/2.495, allocations: 401.8 kB / 1.836 GB, free: 362.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002583/2.498, allocations: 3.209 MB / 1.839 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/2.498, allocations: 289.2 kB / 1.839 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/2.499, allocations: 185.9 kB / 1.839 GB, free: 359.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/2.499, allocations: 350.3 kB / 1.84 GB, free: 359.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/2.499, allocations: 34.53 kB / 1.84 GB, free: 359.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=38): time 2.855e-06/2.499, allocations: 3.75 kB / 1.84 GB, free: 359.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.0007103/2.5, allocations: 426.7 kB / 1.84 GB, free: 359.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/2.5, allocations: 61.78 kB / 1.84 GB, free: 359.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/2.5, allocations: 0.5009 MB / 1.841 GB, free: 358.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/2.5, allocations: 37.55 kB / 1.841 GB, free: 358.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/2.5, allocations: 326 kB / 1.841 GB, free: 358.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/2.5, allocations: 131.5 kB / 1.841 GB, free: 358.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/2.5, allocations: 12 kB / 1.841 GB, free: 358.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/2.501, allocations: 376 kB / 1.842 GB, free: 358 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/2.501, allocations: 161.8 kB / 1.842 GB, free: 357.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/2.501, allocations: 359.1 kB / 1.842 GB, free: 357.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/2.501, allocations: 196.4 kB / 1.842 GB, free: 357.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.501, allocations: 3.938 kB / 1.842 GB, free: 357.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008773/2.502, allocations: 0.6187 MB / 1.843 GB, free: 357.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/2.503, allocations: 1.738 MB / 1.845 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/2.503, allocations: 7.375 kB / 1.845 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/2.503, allocations: 144.8 kB / 1.845 GB, free: 355.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/2.504, allocations: 154.1 kB / 1.845 GB, free: 355.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/2.504, allocations: 0.617 MB / 1.845 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/2.505, allocations: 114.7 kB / 1.846 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/2.505, allocations: 30.89 kB / 1.846 GB, free: 354.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/2.505, allocations: 7.906 kB / 1.846 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007155/2.506, allocations: 0.5156 MB / 1.846 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/2.506, allocations: 3.781 kB / 1.846 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/2.506, allocations: 11.64 kB / 1.846 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/2.506, allocations: 160.2 kB / 1.846 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/2.506, allocations: 15.61 kB / 1.846 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/2.507, allocations: 88.08 kB / 1.846 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/2.507, allocations: 38.55 kB / 1.846 GB, free: 354.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001167/2.507, allocations: 144.8 kB / 1.847 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/2.507, allocations: 63.72 kB / 1.847 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/2.508, allocations: 0.5522 MB / 1.847 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/2.508, allocations: 12.34 kB / 1.847 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/2.508, allocations: 0 / 1.847 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/2.508, allocations: 0 / 1.847 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/2.51, allocations: 1.283 MB / 1.848 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.51, allocations: 3.25 kB / 1.848 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/2.51, allocations: 87.27 kB / 1.848 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/2.511, allocations: 120.1 kB / 1.849 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/2.511, allocations: 15.27 kB / 1.849 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003943/2.511, allocations: 0.6213 MB / 1.849 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.511, allocations: 7.922 kB / 1.849 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/2.512, allocations: 0.6488 MB / 1.85 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/2.512, allocations: 201.7 kB / 1.85 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/2.512, allocations: 8 kB / 1.85 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/2.513, allocations: 60.06 kB / 1.85 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/2.513, allocations: 32.33 kB / 1.85 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/2.513, allocations: 20.02 kB / 1.85 GB, free: 351.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003701/2.513, allocations: 394.2 kB / 1.851 GB, free: 351.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/2.513, allocations: 3.938 kB / 1.851 GB, free: 351.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001144/2.514, allocations: 426.2 kB / 1.851 GB, free: 351.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006497/2.515, allocations: 410.7 kB / 1.851 GB, free: 351.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001176/2.516, allocations: 0.7756 MB / 1.852 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/2.516, allocations: 0 / 1.852 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/2.517, allocations: 251 kB / 1.852 GB, free: 350.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/2.518, allocations: 261.3 kB / 1.853 GB, free: 350.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/2.519, allocations: 0.7473 MB / 1.853 GB, free: 350.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/2.519, allocations: 0.9247 MB / 1.854 GB, free: 349.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006845/2.52, allocations: 188.6 kB / 1.854 GB, free: 349.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/2.52, allocations: 58.45 kB / 1.854 GB, free: 349.2 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/2.52, allocations: 0 / 1.854 GB, free: 349.2 MB / 1.151 GB Notification: Performance of Templates: time 0.01878/2.539, allocations: 14.13 MB / 1.868 GB, free: 338.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches