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.001089/0.001089, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001378, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.34 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.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003693, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8111, allocations: 142.4 MB / 0.9557 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01484/0.826, allocations: 14.96 MB / 0.9703 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007378/0.8334, allocations: 4.298 MB / 0.9745 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.8343, allocations: 15.03 kB / 0.9745 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.8354, allocations: 213.8 kB / 0.9747 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.8373, allocations: 0.5592 MB / 0.9753 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.8395, allocations: 0.635 MB / 0.9759 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.8416, allocations: 1.313 MB / 0.9772 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.8423, allocations: 284.7 kB / 0.9774 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.8433, allocations: 378.9 kB / 0.9778 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.8441, allocations: 323.7 kB / 0.9781 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.8442, allocations: 13.16 kB / 0.9781 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.8457, allocations: 0.5942 MB / 0.9787 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.8459, allocations: 85.89 kB / 0.9788 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.8463, allocations: 234.7 kB / 0.979 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.8474, allocations: 0.5408 MB / 0.9795 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8474, allocations: 0 / 0.9795 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8474, allocations: 4 kB / 0.9795 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.8474, allocations: 0 / 0.9795 GB, free: 5.176 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.001542/0.849, allocations: 0.7462 MB / 0.9803 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.849, allocations: 12.72 kB / 0.9803 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.8493, allocations: 63.2 kB / 0.9803 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.85, allocations: 418.3 kB / 0.9807 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.8501, allocations: 19.47 kB / 0.9808 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.8501, allocations: 27.09 kB / 0.9808 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.8507, allocations: 215.2 kB / 0.981 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8507, allocations: 0 / 0.981 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.8507, allocations: 5.969 kB / 0.981 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8507, allocations: 9.219 kB / 0.981 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.8512, allocations: 179.8 kB / 0.9812 GB, free: 3.879 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.001948/0.8531, allocations: 0.9471 MB / 0.9821 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.8535, allocations: 140.4 kB / 0.9822 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.8537, allocations: 74.38 kB / 0.9823 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.854, allocations: 343.7 kB / 0.9826 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.854, allocations: 35.81 kB / 0.9827 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.854, allocations: 1.25 kB / 0.9827 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0007419/0.8548, allocations: 253.9 kB / 0.9829 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.8548, allocations: 52.94 kB / 0.983 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.8555, allocations: 486.9 kB / 0.9834 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.8556, allocations: 32.33 kB / 0.9835 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.8558, allocations: 224.5 kB / 0.9837 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.8558, allocations: 44.98 kB / 0.9837 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.8559, allocations: 29.61 kB / 0.9837 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.856, allocations: 353.1 kB / 0.9841 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8562, allocations: 73.05 kB / 0.9842 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.8565, allocations: 162.7 kB / 0.9843 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.8569, allocations: 175.2 kB / 0.9845 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8569, allocations: 0 / 0.9845 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006016/0.8575, allocations: 268.2 kB / 0.9847 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.8576, allocations: 106.8 kB / 0.9848 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8576, allocations: 1.406 kB / 0.9848 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8577, allocations: 1.438 kB / 0.9848 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.8579, allocations: 45.62 kB / 0.9849 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.8579, allocations: 16.86 kB / 0.9849 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.8583, allocations: 48.09 kB / 0.9849 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.8584, allocations: 11.25 kB / 0.985 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.8584, allocations: 3.875 kB / 0.985 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004678/0.8589, allocations: 191.5 kB / 0.9851 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8589, allocations: 5.594 kB / 0.9851 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.8589, allocations: 5.344 kB / 0.9851 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.8591, allocations: 44.38 kB / 0.9852 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.8591, allocations: 4 kB / 0.9852 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.8595, allocations: 47.8 kB / 0.9852 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.8595, allocations: 11.94 kB / 0.9853 GB, free: 0.668 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.0002188/0.8598, allocations: 237 kB / 0.9855 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.8599, allocations: 43.44 kB / 0.9855 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.8604, allocations: 265.1 kB / 0.9858 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8605, allocations: 4 kB / 0.9858 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8605, allocations: 0 / 0.9858 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8605, allocations: 4 kB / 0.9858 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.8616, allocations: 0.7123 MB / 0.9865 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.8617, allocations: 3.984 kB / 0.9865 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.8618, allocations: 27.98 kB / 0.9865 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.8618, allocations: 4 kB / 0.9865 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.8618, allocations: 4 kB / 0.9865 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.8618, allocations: 7.938 kB / 0.9865 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8619, allocations: 3.938 kB / 0.9865 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.8624, allocations: 358.4 kB / 0.9869 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.8625, allocations: 144.5 kB / 0.987 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.8626, allocations: 7.984 kB / 0.987 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.8629, allocations: 23.97 kB / 0.987 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.8629, allocations: 19.86 kB / 0.9871 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.8629, allocations: 8 kB / 0.9871 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003899/0.8633, allocations: 338.8 kB / 0.9874 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8634, allocations: 4 kB / 0.9874 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007265/0.8641, allocations: 199.6 kB / 0.9876 GB, free: 14.14 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.001157/0.8652, allocations: 483.1 kB / 0.988 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006934/0.866, allocations: 286 kB / 0.9883 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.866, allocations: 4 kB / 0.9883 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.8662, allocations: 91.83 kB / 0.9884 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.8676, allocations: 212 kB / 0.9886 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.8691, allocations: 0.8875 MB / 0.9895 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.8695, allocations: 0.8194 MB / 0.9903 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.8696, allocations: 43.42 kB / 0.9903 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8696, allocations: 4 kB / 0.9903 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.01232/0.882, allocations: 7.367 MB / 0.9975 GB, free: 4.109 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