Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00823/0.00823, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7235, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01615/0.7397, allocations: 15.48 MB / 0.9647 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009213/0.749, allocations: 4.361 MB / 0.969 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008871/0.7499, allocations: 15.38 kB / 0.969 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.7512, allocations: 221.8 kB / 0.9692 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.7533, allocations: 0.556 MB / 0.9697 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.7554, allocations: 0.6257 MB / 0.9703 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.7574, allocations: 1.313 MB / 0.9716 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.758, allocations: 296.7 kB / 0.9719 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00095/0.759, allocations: 382.4 kB / 0.9723 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.7597, allocations: 324.5 kB / 0.9726 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.7598, allocations: 16 kB / 0.9726 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.7613, allocations: 0.6053 MB / 0.9732 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.7615, allocations: 93.16 kB / 0.9733 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.7618, allocations: 215.5 kB / 0.9735 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.7627, allocations: 0.5363 MB / 0.974 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.7628, allocations: 4 kB / 0.974 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7628, allocations: 0 / 0.974 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.7628, allocations: 1.125 kB / 0.974 GB, free: 6.066 MB / 0.7325 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.001665/0.7645, allocations: 0.8396 MB / 0.9748 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7645, allocations: 8.969 kB / 0.9748 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.7647, allocations: 55.25 kB / 0.9749 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.7654, allocations: 406.4 kB / 0.9753 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.7654, allocations: 19.88 kB / 0.9753 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.7655, allocations: 26.75 kB / 0.9753 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.766, allocations: 213.9 kB / 0.9755 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.766, allocations: 0 / 0.9755 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.766, allocations: 14.25 kB / 0.9755 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7661, allocations: 4.719 kB / 0.9755 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.7665, allocations: 166.5 kB / 0.9757 GB, free: 4.727 MB / 0.7325 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.001787/0.7683, allocations: 0.9407 MB / 0.9766 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.7687, allocations: 135 kB / 0.9768 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.7689, allocations: 68.22 kB / 0.9768 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.7692, allocations: 341.1 kB / 0.9771 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.7693, allocations: 35.67 kB / 0.9772 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.7693, allocations: 0 / 0.9772 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0006929/0.77, allocations: 234 kB / 0.9774 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.77, allocations: 57.7 kB / 0.9775 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.7706, allocations: 478.8 kB / 0.9779 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.7707, allocations: 35.83 kB / 0.9779 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.7709, allocations: 232.4 kB / 0.9782 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.771, allocations: 49.77 kB / 0.9782 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.7711, allocations: 62.75 kB / 0.9783 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.7713, allocations: 351.9 kB / 0.9786 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.7715, allocations: 76.67 kB / 0.9787 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.7718, allocations: 150.5 kB / 0.9788 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.7722, allocations: 168.3 kB / 0.979 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7722, allocations: 0 / 0.979 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005782/0.7728, allocations: 252.8 kB / 0.9792 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7729, allocations: 5.344 kB / 0.9792 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7729, allocations: 1.656 kB / 0.9792 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7729, allocations: 1.375 kB / 0.9792 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.7731, allocations: 50.31 kB / 0.9793 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.7732, allocations: 5.609 kB / 0.9793 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.7736, allocations: 53.83 kB / 0.9793 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.7736, allocations: 11.06 kB / 0.9794 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003212/0.7739, allocations: 188.5 kB / 0.9795 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003283/0.7743, allocations: 166.1 kB / 0.9797 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003467/0.7746, allocations: 168.1 kB / 0.9799 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.7747, allocations: 1.219 kB / 0.9799 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000575/0.7752, allocations: 253.9 kB / 0.9801 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7753, allocations: 4.938 kB / 0.9801 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.7753, allocations: 2.531 kB / 0.9801 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.7753, allocations: 1.125 kB / 0.9801 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.7755, allocations: 51.59 kB / 0.9802 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.7755, allocations: 2.656 kB / 0.9802 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.7759, allocations: 46.42 kB / 0.9802 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.776, allocations: 7.188 kB / 0.9802 GB, free: 1.23 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.7761, allocations: 197.9 kB / 0.9804 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.7762, allocations: 46.77 kB / 0.9804 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.7768, allocations: 243.9 kB / 0.9807 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.7769, allocations: 6.25 kB / 0.9807 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7769, allocations: 1.281 kB / 0.9807 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7769, allocations: 0 / 0.9807 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7781, allocations: 0.7086 MB / 0.9814 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.7781, allocations: 0.9375 kB / 0.9814 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.7782, allocations: 35.31 kB / 0.9814 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.7782, allocations: 1.031 kB / 0.9814 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.7783, allocations: 3.938 kB / 0.9814 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7783, allocations: 5.594 kB / 0.9814 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7783, allocations: 5.188 kB / 0.9814 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.7788, allocations: 345.9 kB / 0.9818 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.779, allocations: 137.4 kB / 0.9819 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.7791, allocations: 2.719 kB / 0.9819 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.7794, allocations: 34.38 kB / 0.9819 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.7794, allocations: 10.02 kB / 0.9819 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7795, allocations: 10.12 kB / 0.9819 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004293/0.7799, allocations: 336.7 kB / 0.9823 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7799, allocations: 0 / 0.9823 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008197/0.7807, allocations: 198.4 kB / 0.9824 GB, free: 15.56 MB / 0.7481 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.782, allocations: 488.4 kB / 0.9829 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006918/0.7827, allocations: 260.2 kB / 0.9832 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7827, allocations: 1.469 kB / 0.9832 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.7829, allocations: 98.28 kB / 0.9833 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7842, allocations: 221.8 kB / 0.9835 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.7856, allocations: 0.8686 MB / 0.9843 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.786, allocations: 0.8271 MB / 0.9851 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7862, allocations: 43.42 kB / 0.9852 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.7862, allocations: 0 / 0.9852 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of Templates: time 0.0128/0.799, allocations: 7.416 MB / 0.9924 GB, free: 5.777 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches