Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001262/0.001262, allocations: 192.5 kB / 487.4 MB, free: 5.055 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.89 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.331e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.28, allocations: 401.1 MB / 1.598 GB, free: 4.914 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.281, allocations: 101.7 kB / 1.598 GB, free: 4.859 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.962/2.243, allocations: 177.5 MB / 1.771 GB, free: 373.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.143e-06/2.243, allocations: 0 / 1.771 GB, free: 373.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.938e-05/2.243, allocations: 20.41 kB / 1.771 GB, free: 373.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001131/2.244, allocations: 0.7666 MB / 1.772 GB, free: 372.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/2.244, allocations: 13.19 kB / 1.772 GB, free: 372.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/2.244, allocations: 68.52 kB / 1.772 GB, free: 372.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/2.245, allocations: 451.5 kB / 1.772 GB, free: 372.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/2.245, allocations: 8 kB / 1.772 GB, free: 372.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/2.245, allocations: 19.12 kB / 1.772 GB, free: 372.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002782/2.245, allocations: 142.3 kB / 1.773 GB, free: 372.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/2.245, allocations: 235 kB / 1.773 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/2.245, allocations: 0 / 1.773 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/2.245, allocations: 1.219 kB / 1.773 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/2.245, allocations: 12.98 kB / 1.773 GB, free: 372.3 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.001748/2.247, allocations: 1.441 MB / 1.774 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/2.247, allocations: 134.9 kB / 1.774 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/2.248, allocations: 69.27 kB / 1.774 GB, free: 371.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/2.249, allocations: 1.288 MB / 1.776 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/2.249, allocations: 43.39 kB / 1.776 GB, free: 370.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/2.249, allocations: 0 / 1.776 GB, free: 370.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004723/2.25, allocations: 176.3 kB / 1.776 GB, free: 370.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/2.25, allocations: 55.84 kB / 1.776 GB, free: 370.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/2.25, allocations: 474.1 kB / 1.776 GB, free: 370.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/2.25, allocations: 26.55 kB / 1.776 GB, free: 370 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/2.25, allocations: 273.3 kB / 1.777 GB, free: 369.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/2.25, allocations: 49.81 kB / 1.777 GB, free: 369.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/2.25, allocations: 0 / 1.777 GB, free: 369.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/2.25, allocations: 357.7 kB / 1.777 GB, free: 369.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/2.25, allocations: 53.12 kB / 1.777 GB, free: 369.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/2.251, allocations: 213 kB / 1.777 GB, free: 369.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/2.251, allocations: 92.78 kB / 1.777 GB, free: 369.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/2.251, allocations: 4.953 kB / 1.777 GB, free: 369.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005251/2.251, allocations: 264.2 kB / 1.778 GB, free: 369.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/2.252, allocations: 0.9672 MB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/2.252, allocations: 2.969 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/2.252, allocations: 7.656 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/2.252, allocations: 67.89 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/2.252, allocations: 4.094 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/2.252, allocations: 41.31 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/2.252, allocations: 15.81 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/2.252, allocations: 4 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003975/2.253, allocations: 188.7 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/2.253, allocations: 2.688 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/2.253, allocations: 9.5 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/2.253, allocations: 64.11 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/2.253, allocations: 4.656 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/2.253, allocations: 40 kB / 1.779 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/2.254, allocations: 19.33 kB / 1.779 GB, free: 368.3 MB / 1.151 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 () * 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 8.099e-05/2.254, allocations: 120.4 kB / 1.779 GB, free: 368.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/2.254, allocations: 47.25 kB / 1.779 GB, free: 368.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/2.254, allocations: 219.9 kB / 1.779 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/2.254, allocations: 6.234 kB / 1.779 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/2.254, allocations: 3.188 kB / 1.779 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.254, allocations: 5.359 kB / 1.779 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/2.255, allocations: 0.6735 MB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/2.255, allocations: 9.234 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/2.255, allocations: 36.94 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.255, allocations: 2.594 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/2.255, allocations: 4.156 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/2.255, allocations: 6.688 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.255, allocations: 1.406 kB / 1.78 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/2.256, allocations: 371.5 kB / 1.78 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/2.256, allocations: 156.7 kB / 1.781 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/2.256, allocations: 1.188 kB / 1.781 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/2.256, allocations: 18.8 kB / 1.781 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/2.256, allocations: 19.11 kB / 1.781 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/2.256, allocations: 4.25 kB / 1.781 GB, free: 367.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003661/2.257, allocations: 364 kB / 1.781 GB, free: 367.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/2.257, allocations: 0 / 1.781 GB, free: 367.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008933/2.257, allocations: 263.2 kB / 1.781 GB, free: 367.3 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 (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.001102/2.259, allocations: 0.56 MB / 1.782 GB, free: 367.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004796/2.259, allocations: 284.5 kB / 1.782 GB, free: 367.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.259, allocations: 1.719 kB / 1.782 GB, free: 367.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/2.259, allocations: 69.03 kB / 1.782 GB, free: 367.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/2.26, allocations: 220.7 kB / 1.782 GB, free: 367.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/2.261, allocations: 0.5684 MB / 1.783 GB, free: 366.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/2.262, allocations: 0.8499 MB / 1.784 GB, free: 366.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005305/2.262, allocations: 183.3 kB / 1.784 GB, free: 366.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/2.262, allocations: 27.44 kB / 1.784 GB, free: 366.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/2.262, allocations: 2.531 kB / 1.784 GB, free: 366.2 MB / 1.151 GB Notification: Performance of Templates: time 0.0163/2.279, allocations: 9.907 MB / 1.794 GB, free: 366 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches