Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001532, allocations: 180.9 kB / 316.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 94.44 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.814e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.169, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.339/1.508, allocations: 391.3 MB / 1.267 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.508, allocations: 90.42 kB / 1.267 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3089/1.817, allocations: 168.8 MB / 1.432 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/1.817, allocations: 0 / 1.432 GB, free: 183 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.167e-05/1.817, allocations: 15.98 kB / 1.432 GB, free: 183 MB / 0.8698 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.001019/1.818, allocations: 0.728 MB / 1.433 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.818, allocations: 12.03 kB / 1.433 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.342e-05/1.818, allocations: 59.3 kB / 1.433 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/1.819, allocations: 427.6 kB / 1.434 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/1.819, allocations: 8 kB / 1.434 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/1.819, allocations: 16 kB / 1.434 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002123/1.819, allocations: 132.8 kB / 1.434 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/1.82, allocations: 158.4 kB / 1.434 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.82, allocations: 3.938 kB / 1.434 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/1.82, allocations: 3.953 kB / 1.434 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.82, allocations: 4 kB / 1.434 GB, free: 181.4 MB / 0.8698 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.001227/1.821, allocations: 0.887 MB / 1.435 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.821, allocations: 114.6 kB / 1.435 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/1.821, allocations: 52.84 kB / 1.435 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/1.821, allocations: 336.4 kB / 1.435 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/1.821, allocations: 34.55 kB / 1.435 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/1.821, allocations: 0 / 1.435 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0003529/1.822, allocations: 161.4 kB / 1.435 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/1.822, allocations: 59.41 kB / 1.435 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/1.822, allocations: 365.2 kB / 1.436 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/1.822, allocations: 25.7 kB / 1.436 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.822, allocations: 224.7 kB / 1.436 GB, free: 179 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/1.822, allocations: 51.3 kB / 1.436 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/1.822, allocations: 0 / 1.436 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/1.822, allocations: 346.8 kB / 1.436 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/1.822, allocations: 47.98 kB / 1.436 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/1.823, allocations: 151 kB / 1.437 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/1.823, allocations: 79.75 kB / 1.437 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.823, allocations: 4 kB / 1.437 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003594/1.823, allocations: 214.7 kB / 1.437 GB, free: 178 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/1.823, allocations: 271 kB / 1.437 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.823, allocations: 0 / 1.437 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.823, allocations: 3.953 kB / 1.437 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/1.823, allocations: 55.91 kB / 1.437 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.823, allocations: 0 / 1.437 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/1.824, allocations: 43.72 kB / 1.437 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/1.824, allocations: 19.98 kB / 1.437 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/1.824, allocations: 4 kB / 1.437 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002694/1.824, allocations: 141.2 kB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/1.824, allocations: 0 / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/1.824, allocations: 3.938 kB / 1.437 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/1.824, allocations: 51.91 kB / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/1.824, allocations: 0 / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/1.825, allocations: 39.81 kB / 1.437 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.825, allocations: 15.98 kB / 1.437 GB, free: 177.4 MB / 0.8698 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 6.486e-05/1.825, allocations: 104.9 kB / 1.438 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/1.825, allocations: 43.62 kB / 1.438 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/1.825, allocations: 222.7 kB / 1.438 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.825, allocations: 0 / 1.438 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.825, allocations: 0 / 1.438 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.825, allocations: 4 kB / 1.438 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/1.826, allocations: 0.62 MB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.826, allocations: 128 / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.826, allocations: 31.98 kB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.826, allocations: 4 kB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.826, allocations: 3.984 kB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.826, allocations: 4 kB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.826, allocations: 3.938 kB / 1.438 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/1.826, allocations: 345.2 kB / 1.439 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/1.826, allocations: 148.4 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/1.827, allocations: 4 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.827, allocations: 23.97 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.827, allocations: 15.98 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.827, allocations: 4 kB / 1.439 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002389/1.827, allocations: 286.9 kB / 1.439 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.827, allocations: 7.938 kB / 1.439 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007262/1.828, allocations: 219.5 kB / 1.439 GB, free: 175.2 MB / 0.8698 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.0009784/1.829, allocations: 0.5211 MB / 1.44 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003301/1.829, allocations: 230.2 kB / 1.44 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.829, allocations: 0 / 1.44 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/1.829, allocations: 67.92 kB / 1.44 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.83, allocations: 193.6 kB / 1.44 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/1.831, allocations: 486.9 kB / 1.441 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/1.831, allocations: 0.8351 MB / 1.442 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003483/1.832, allocations: 123.1 kB / 1.442 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/1.832, allocations: 31.38 kB / 1.442 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.832, allocations: 3.938 kB / 1.442 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01202/1.844, allocations: 8.443 MB / 1.45 GB, free: 164.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches