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.706/2.706, allocations: 390.5 MB / 398 MB, free: 10.9 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.001289/0.001289, allocations: 175.8 kB / 491.2 MB, free: 1.547 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.544/1.544, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009586/0.0009586, allocations: 102.1 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.928e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.566, allocations: 397.4 MB / 1.6 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.567, allocations: 96.12 kB / 1.6 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.028/2.595, allocations: 177.2 MB / 1.773 GB, free: 376.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503e-06/2.595, allocations: 0 / 1.773 GB, free: 376.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.28e-05/2.595, allocations: 20.3 kB / 1.774 GB, free: 376.5 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001333/2.596, allocations: 0.7454 MB / 1.774 GB, free: 376.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/2.596, allocations: 8.938 kB / 1.774 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/2.596, allocations: 54.95 kB / 1.774 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/2.597, allocations: 419 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/2.597, allocations: 7.281 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/2.597, allocations: 19.75 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002912/2.598, allocations: 129.3 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/2.598, allocations: 163 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/2.598, allocations: 0 / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/2.598, allocations: 3.953 kB / 1.775 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/2.598, allocations: 5.531 kB / 1.775 GB, free: 375.8 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.001549/2.599, allocations: 0.8867 MB / 1.776 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/2.6, allocations: 119.5 kB / 1.776 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/2.6, allocations: 58.23 kB / 1.776 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/2.6, allocations: 339.4 kB / 1.776 GB, free: 375 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/2.6, allocations: 37.84 kB / 1.776 GB, free: 375 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/2.6, allocations: 2.156 kB / 1.776 GB, free: 375 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0004861/2.601, allocations: 159 kB / 1.777 GB, free: 374.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/2.601, allocations: 59.22 kB / 1.777 GB, free: 374.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/2.601, allocations: 357.7 kB / 1.777 GB, free: 374.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/2.601, allocations: 27.05 kB / 1.777 GB, free: 374.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/2.601, allocations: 234.6 kB / 1.777 GB, free: 374.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/2.601, allocations: 45.09 kB / 1.777 GB, free: 374.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/2.601, allocations: 3.594 kB / 1.777 GB, free: 374.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001031/2.601, allocations: 353.3 kB / 1.778 GB, free: 374.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/2.602, allocations: 49.83 kB / 1.778 GB, free: 374.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/2.602, allocations: 156.8 kB / 1.778 GB, free: 374.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/2.602, allocations: 72.98 kB / 1.778 GB, free: 374.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/2.602, allocations: 1.422 kB / 1.778 GB, free: 374.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004194/2.602, allocations: 216.6 kB / 1.778 GB, free: 374.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/2.603, allocations: 273.4 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/2.603, allocations: 3.562 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/2.603, allocations: 9.359 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/2.603, allocations: 49.25 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/2.603, allocations: 1.062 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/2.603, allocations: 41.27 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/2.603, allocations: 7.656 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/2.603, allocations: 4.188 kB / 1.778 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003296/2.604, allocations: 143.9 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/2.604, allocations: 7.172 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/2.604, allocations: 4.406 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/2.604, allocations: 52.73 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/2.604, allocations: 1.219 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/2.604, allocations: 36.62 kB / 1.779 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/2.604, allocations: 15.98 kB / 1.779 GB, free: 373.8 MB / 1.151 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 () * 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 8.384e-05/2.604, allocations: 111.7 kB / 1.779 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/2.604, allocations: 38.25 kB / 1.779 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/2.605, allocations: 210.6 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/2.605, allocations: 8.281 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.605, allocations: 0 / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.605, allocations: 1.281 kB / 1.779 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/2.606, allocations: 0.6334 MB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/2.606, allocations: 1.625 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/2.606, allocations: 32.58 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/2.606, allocations: 1.094 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/2.606, allocations: 6.906 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/2.606, allocations: 4.188 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/2.606, allocations: 3.125 kB / 1.78 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/2.606, allocations: 353.9 kB / 1.78 GB, free: 373.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/2.607, allocations: 141.3 kB / 1.78 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/2.607, allocations: 5 kB / 1.78 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/2.607, allocations: 28.73 kB / 1.78 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/2.607, allocations: 21.14 kB / 1.78 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/2.607, allocations: 5.719 kB / 1.78 GB, free: 372.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003192/2.607, allocations: 287 kB / 1.781 GB, free: 372.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.353e-06/2.607, allocations: 0 / 1.781 GB, free: 372.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009193/2.608, allocations: 226 kB / 1.781 GB, free: 372.8 MB / 1.151 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 () * 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.001243/2.609, allocations: 0.5128 MB / 1.781 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004626/2.61, allocations: 238.4 kB / 1.781 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/2.61, allocations: 0 / 1.781 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/2.61, allocations: 63.33 kB / 1.782 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/2.611, allocations: 193 kB / 1.782 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/2.612, allocations: 489.7 kB / 1.782 GB, free: 372.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/2.612, allocations: 0.8407 MB / 1.783 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004069/2.613, allocations: 118.8 kB / 1.783 GB, free: 371.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/2.613, allocations: 29.28 kB / 1.783 GB, free: 371.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.61e-07/2.613, allocations: 0 / 1.783 GB, free: 371.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0162/2.629, allocations: 8.383 MB / 1.791 GB, free: 371.5 MB / 1.151 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