Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.0009436/0.0009437, allocations: 176.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009089/0.0009086, allocations: 90.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.253e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.506, allocations: 395.6 MB / 1.278 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.506, allocations: 96.61 kB / 1.278 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.304/1.81, allocations: 170.2 MB / 1.444 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.343e-06/1.81, allocations: 0 / 1.444 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.031e-05/1.81, allocations: 16 kB / 1.444 GB, free: 171.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00105/1.811, allocations: 0.7707 MB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.811, allocations: 8.031 kB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/1.811, allocations: 71.19 kB / 1.445 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/1.812, allocations: 453.4 kB / 1.446 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.812, allocations: 28.56 kB / 1.446 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/1.812, allocations: 28 kB / 1.446 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/1.812, allocations: 260.5 kB / 1.446 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.812, allocations: 0 / 1.446 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/1.812, allocations: 12 kB / 1.446 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.812, allocations: 4 kB / 1.446 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/1.813, allocations: 170.1 kB / 1.446 GB, free: 169.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.001561/1.814, allocations: 1.317 MB / 1.447 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/1.815, allocations: 171.4 kB / 1.448 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.815, allocations: 81.22 kB / 1.448 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/1.816, allocations: 1.339 MB / 1.449 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.816, allocations: 42.52 kB / 1.449 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/1.816, allocations: 4 kB / 1.449 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0003286/1.816, allocations: 186.6 kB / 1.449 GB, free: 166 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/1.816, allocations: 55.41 kB / 1.449 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/1.817, allocations: 0.5046 MB / 1.45 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.817, allocations: 33.7 kB / 1.45 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.817, allocations: 263.9 kB / 1.45 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.817, allocations: 63.09 kB / 1.45 GB, free: 165 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/1.817, allocations: 8 kB / 1.45 GB, free: 165 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/1.817, allocations: 366.8 kB / 1.45 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/1.817, allocations: 63.92 kB / 1.451 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.817, allocations: 206.4 kB / 1.451 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/1.818, allocations: 91.75 kB / 1.451 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.818, allocations: 4 kB / 1.451 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003605/1.818, allocations: 292.6 kB / 1.451 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.818, allocations: 0.7864 MB / 1.452 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.818, allocations: 4 kB / 1.452 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.818, allocations: 4 kB / 1.452 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/1.818, allocations: 67.91 kB / 1.452 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.818, allocations: 7.938 kB / 1.452 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/1.819, allocations: 55.66 kB / 1.452 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.819, allocations: 15.98 kB / 1.452 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/1.819, allocations: 4 kB / 1.452 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002912/1.819, allocations: 223.5 kB / 1.452 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/1.819, allocations: 4 kB / 1.452 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/1.819, allocations: 4 kB / 1.452 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.819, allocations: 72.09 kB / 1.452 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.819, allocations: 4 kB / 1.452 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/1.82, allocations: 47.66 kB / 1.452 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/1.82, allocations: 19.98 kB / 1.452 GB, free: 162.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.358e-05/1.82, allocations: 120.9 kB / 1.452 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/1.82, allocations: 47.44 kB / 1.453 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/1.82, allocations: 271 kB / 1.453 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.82, allocations: 4 kB / 1.453 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.82, allocations: 0 / 1.453 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.82, allocations: 3.984 kB / 1.453 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/1.821, allocations: 0.7561 MB / 1.454 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.821, allocations: 4 kB / 1.454 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.821, allocations: 43.86 kB / 1.454 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.821, allocations: 4 kB / 1.454 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.821, allocations: 7.984 kB / 1.454 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.821, allocations: 0 / 1.454 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.821, allocations: 4.125 kB / 1.454 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/1.822, allocations: 481 kB / 1.454 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.822, allocations: 156.5 kB / 1.454 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/1.822, allocations: 11.98 kB / 1.454 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/1.822, allocations: 19.92 kB / 1.454 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/1.822, allocations: 20.05 kB / 1.454 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.822, allocations: 11.89 kB / 1.454 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003408/1.822, allocations: 405.5 kB / 1.455 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.822, allocations: 0 / 1.455 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000743/1.823, allocations: 271.6 kB / 1.455 GB, free: 159.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001098/1.824, allocations: 0.571 MB / 1.455 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004653/1.825, allocations: 330.5 kB / 1.456 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.825, allocations: 0 / 1.456 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.825, allocations: 88.33 kB / 1.456 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.826, allocations: 250 kB / 1.456 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/1.827, allocations: 0.6464 MB / 1.457 GB, free: 158 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.827, allocations: 0.8595 MB / 1.458 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004633/1.828, allocations: 192.1 kB / 1.458 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/1.828, allocations: 31.44 kB / 1.458 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/1.828, allocations: 0 / 1.458 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.01574/1.844, allocations: 12.37 MB / 1.47 GB, free: 144.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches