Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.598/2.598, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001195/0.001195, allocations: 187 kB / 0.4902 GB, free: 2.23 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.759/1.759, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009559/0.0009559, allocations: 90.14 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 9.344 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3632, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.509, allocations: 402.6 MB / 1.622 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.509, allocations: 99.41 kB / 1.623 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.3811/1.89, allocations: 179.1 MB / 1.797 GB, free: 5.129 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.063e-06/1.89, allocations: 3.938 kB / 1.797 GB, free: 5.125 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.343e-05/1.89, allocations: 15.98 kB / 1.797 GB, free: 5.109 MB / 1.12 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.002025/1.893, allocations: 0.8805 MB / 1.798 GB, free: 4.18 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.893, allocations: 8.031 kB / 1.798 GB, free: 4.172 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/1.893, allocations: 63.3 kB / 1.798 GB, free: 4.109 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.894, allocations: 461.3 kB / 1.799 GB, free: 3.621 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/1.894, allocations: 20.56 kB / 1.799 GB, free: 3.602 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/1.894, allocations: 32 kB / 1.799 GB, free: 3.57 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/1.895, allocations: 278.3 kB / 1.799 GB, free: 3.273 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.895, allocations: 4 kB / 1.799 GB, free: 3.27 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/1.895, allocations: 12 kB / 1.799 GB, free: 3.258 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.895, allocations: 7.953 kB / 1.799 GB, free: 3.25 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/1.895, allocations: 202 kB / 1.799 GB, free: 3.055 MB / 1.12 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.002415/1.898, allocations: 1.5 MB / 1.801 GB, free: 1.445 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/1.898, allocations: 163.9 kB / 1.801 GB, free: 1.277 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/1.9, allocations: 1.307 MB / 1.802 GB, free: 15.78 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.9, allocations: 34.56 kB / 1.802 GB, free: 15.73 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/1.9, allocations: 0 / 1.802 GB, free: 15.73 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0007141/1.901, allocations: 257.8 kB / 1.802 GB, free: 15.48 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.901, allocations: 55.41 kB / 1.803 GB, free: 15.41 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/1.901, allocations: 0.5214 MB / 1.803 GB, free: 14.88 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/1.901, allocations: 33.7 kB / 1.803 GB, free: 14.84 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/1.902, allocations: 264.2 kB / 1.803 GB, free: 14.58 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/1.902, allocations: 55.28 kB / 1.803 GB, free: 14.52 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/1.902, allocations: 8 kB / 1.803 GB, free: 14.52 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.902, allocations: 358.8 kB / 1.804 GB, free: 14.16 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/1.902, allocations: 80.52 kB / 1.804 GB, free: 14.07 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/1.902, allocations: 225.4 kB / 1.804 GB, free: 13.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/1.903, allocations: 110.2 kB / 1.804 GB, free: 13.69 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.903, allocations: 0 / 1.804 GB, free: 13.69 MB / 1.135 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006548/1.903, allocations: 316.6 kB / 1.804 GB, free: 13.38 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004928/1.904, allocations: 0.9601 MB / 1.805 GB, free: 12.34 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.904, allocations: 8 kB / 1.805 GB, free: 12.33 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.904, allocations: 4.094 kB / 1.805 GB, free: 12.33 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/1.904, allocations: 67.91 kB / 1.805 GB, free: 12.26 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.904, allocations: 11.92 kB / 1.805 GB, free: 12.25 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/1.905, allocations: 51.66 kB / 1.805 GB, free: 12.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.905, allocations: 23.98 kB / 1.806 GB, free: 12.18 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.905, allocations: 7.938 kB / 1.806 GB, free: 12.17 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005233/1.905, allocations: 237 kB / 1.806 GB, free: 11.94 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.905, allocations: 4 kB / 1.806 GB, free: 11.93 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/1.905, allocations: 4 kB / 1.806 GB, free: 11.93 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.905, allocations: 75.83 kB / 1.806 GB, free: 11.86 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.905, allocations: 7.984 kB / 1.806 GB, free: 11.85 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/1.906, allocations: 43.88 kB / 1.806 GB, free: 11.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/1.906, allocations: 16 kB / 1.806 GB, free: 11.79 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003074/1.906, allocations: 264.9 kB / 1.806 GB, free: 11.52 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/1.906, allocations: 47.34 kB / 1.806 GB, free: 11.47 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/1.907, allocations: 270.7 kB / 1.806 GB, free: 11.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.907, allocations: 4 kB / 1.806 GB, free: 11.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.907, allocations: 0 / 1.806 GB, free: 11.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.907, allocations: 3.984 kB / 1.806 GB, free: 11.19 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.908, allocations: 0.7576 MB / 1.807 GB, free: 10.37 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.908, allocations: 3.984 kB / 1.807 GB, free: 10.36 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/1.909, allocations: 27.98 kB / 1.807 GB, free: 10.34 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.909, allocations: 8.125 kB / 1.807 GB, free: 10.33 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.909, allocations: 7.938 kB / 1.807 GB, free: 10.32 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.909, allocations: 0 / 1.807 GB, free: 10.32 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.909, allocations: 4 kB / 1.807 GB, free: 10.32 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/1.909, allocations: 414.7 kB / 1.808 GB, free: 9.859 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/1.909, allocations: 152.4 kB / 1.808 GB, free: 9.691 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/1.91, allocations: 12 kB / 1.808 GB, free: 9.68 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/1.91, allocations: 15.98 kB / 1.808 GB, free: 9.664 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/1.91, allocations: 27.86 kB / 1.808 GB, free: 9.637 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/1.91, allocations: 4 kB / 1.808 GB, free: 9.633 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0005268/1.91, allocations: 410.8 kB / 1.808 GB, free: 9.234 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.2e-07/1.91, allocations: 4 kB / 1.808 GB, free: 9.23 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001089/1.911, allocations: 267.7 kB / 1.808 GB, free: 8.969 MB / 1.135 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 (17): * Single equations (assignments): 15 * 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.001724/1.913, allocations: 0.6219 MB / 1.809 GB, free: 8.484 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0008254/1.914, allocations: 350.3 kB / 1.809 GB, free: 8.145 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.914, allocations: 0 / 1.809 GB, free: 8.145 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/1.914, allocations: 95.83 kB / 1.81 GB, free: 8.051 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.916, allocations: 245.6 kB / 1.81 GB, free: 7.816 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.917, allocations: 0.9687 MB / 1.811 GB, free: 6.805 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/1.918, allocations: 0.8587 MB / 1.812 GB, free: 5.918 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.000478/1.918, allocations: 108.6 kB / 1.812 GB, free: 5.812 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.919, allocations: 39.44 kB / 1.812 GB, free: 5.773 MB / 1.135 GB Notification: Performance of SimCode: time 1.513e-06/1.919, allocations: 0 / 1.812 GB, free: 5.773 MB / 1.135 GB Notification: Performance of Templates: time 0.02017/1.939, allocations: 11.04 MB / 1.822 GB, free: 10.86 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches