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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, 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.001421/0.001421, 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.355 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.505/2.505, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8123, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01729/0.8296, allocations: 16.85 MB / 0.9722 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008045/0.8377, allocations: 4.867 MB / 0.9769 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007954/0.8385, allocations: 14.69 kB / 0.9769 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.8395, allocations: 204.7 kB / 0.9771 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.8414, allocations: 0.5602 MB / 0.9777 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.8436, allocations: 0.638 MB / 0.9783 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.8457, allocations: 1.283 MB / 0.9795 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.8463, allocations: 281 kB / 0.9798 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.8473, allocations: 369.9 kB / 0.9802 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.8478, allocations: 312.4 kB / 0.9805 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.8479, allocations: 16 kB / 0.9805 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.8496, allocations: 0.6946 MB / 0.9812 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.8498, allocations: 121.4 kB / 0.9813 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.8501, allocations: 249.6 kB / 0.9815 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.8511, allocations: 0.6168 MB / 0.9821 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8512, allocations: 0 / 0.9821 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8512, allocations: 0.9688 kB / 0.9821 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8512, allocations: 0 / 0.9821 GB, free: 2.965 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001274/0.8525, allocations: 0.7958 MB / 0.9829 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8525, allocations: 10.66 kB / 0.9829 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.8527, allocations: 57.28 kB / 0.983 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.8533, allocations: 447.6 kB / 0.9834 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.8534, allocations: 24.34 kB / 0.9834 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.8534, allocations: 31.53 kB / 0.9834 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.854, allocations: 296.7 kB / 0.9837 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.854, allocations: 1.5 kB / 0.9837 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.854, allocations: 13.28 kB / 0.9837 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.8541, allocations: 10.69 kB / 0.9837 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.8545, allocations: 197.1 kB / 0.9839 GB, free: 1.527 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.001944/0.8565, allocations: 1.48 MB / 0.9854 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.8568, allocations: 174.3 kB / 0.9855 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.857, allocations: 88.95 kB / 0.9856 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.8587, allocations: 1.285 MB / 0.9869 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.8588, allocations: 39.75 kB / 0.9869 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.8588, allocations: 0 / 0.9869 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000663/0.8594, allocations: 267.4 kB / 0.9872 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.8595, allocations: 53.75 kB / 0.9872 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.8602, allocations: 0.5876 MB / 0.9878 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.8602, allocations: 29.7 kB / 0.9878 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.8604, allocations: 268 kB / 0.9881 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.8605, allocations: 55.28 kB / 0.9881 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.8605, allocations: 29.7 kB / 0.9882 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8607, allocations: 362.8 kB / 0.9885 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.8608, allocations: 80.52 kB / 0.9886 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.8611, allocations: 218.7 kB / 0.9888 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.8616, allocations: 248.2 kB / 0.989 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8616, allocations: 0 / 0.989 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005698/0.8622, allocations: 320.9 kB / 0.9893 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.8623, allocations: 165.6 kB / 0.9895 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8623, allocations: 4 kB / 0.9895 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8623, allocations: 4 kB / 0.9895 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.8626, allocations: 63.84 kB / 0.9896 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.8626, allocations: 4 kB / 0.9896 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.863, allocations: 59.56 kB / 0.9896 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.863, allocations: 12 kB / 0.9896 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.863, allocations: 4 kB / 0.9896 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004741/0.8635, allocations: 253.3 kB / 0.9899 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.8635, allocations: 0 / 0.9899 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.8635, allocations: 4 kB / 0.9899 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.8638, allocations: 68.09 kB / 0.99 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.8638, allocations: 8 kB / 0.99 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.8641, allocations: 47.75 kB / 0.99 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.8641, allocations: 12 kB / 0.99 GB, free: 11.59 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.8643, allocations: 257.1 kB / 0.9903 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.8644, allocations: 55.28 kB / 0.9903 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.865, allocations: 273.6 kB / 0.9906 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.865, allocations: 0 / 0.9906 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.865, allocations: 4 kB / 0.9906 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.865, allocations: 7.984 kB / 0.9906 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.8661, allocations: 0.7433 MB / 0.9913 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8661, allocations: 4 kB / 0.9913 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.8662, allocations: 35.92 kB / 0.9914 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8662, allocations: 7.938 kB / 0.9914 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.8663, allocations: 8 kB / 0.9914 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8663, allocations: 0 / 0.9914 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8663, allocations: 0 / 0.9914 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.8668, allocations: 376.2 kB / 0.9917 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.8669, allocations: 148.5 kB / 0.9919 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.867, allocations: 4 kB / 0.9919 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.8672, allocations: 28.09 kB / 0.9919 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.8673, allocations: 7.984 kB / 0.9919 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.8673, allocations: 15.98 kB / 0.9919 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000456/0.8678, allocations: 418.8 kB / 0.9923 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8678, allocations: 0 / 0.9923 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008188/0.8686, allocations: 235.6 kB / 0.9925 GB, free: 8.875 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 (17): * Single equations (assignments): 15 * 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.001186/0.8698, allocations: 496.3 kB / 0.993 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.8705, allocations: 331.7 kB / 0.9933 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8706, allocations: 0 / 0.9933 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.8708, allocations: 100.8 kB / 0.9934 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.8722, allocations: 247.7 kB / 0.9937 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8737, allocations: 1.023 MB / 0.9947 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.8741, allocations: 0.8429 MB / 0.9955 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.8742, allocations: 43.42 kB / 0.9955 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.8742, allocations: 4 kB / 0.9955 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of Templates: time 0.01352/0.8877, allocations: 8.492 MB / 1.004 GB, free: 13.46 MB / 0.7637 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches