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.0007951/0.0007951, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008653/0.0008654, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 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: 223.3 MB / 240 MB, free: 5.402 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.492/2.492, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004572, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.789, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02269/0.8117, allocations: 16 MB / 0.9701 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.8226, allocations: 4.613 MB / 0.9746 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008276/0.8234, allocations: 12.03 kB / 0.9746 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.8245, allocations: 189.7 kB / 0.9748 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.8267, allocations: 0.4986 MB / 0.9753 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.8295, allocations: 0.5919 MB / 0.9758 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002238/0.8317, allocations: 1.094 MB / 0.9769 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006447/0.8324, allocations: 255.2 kB / 0.9771 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.8334, allocations: 360.9 kB / 0.9775 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.834, allocations: 301.3 kB / 0.9778 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.8341, allocations: 16.25 kB / 0.9778 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.8362, allocations: 0.5892 MB / 0.9784 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.8364, allocations: 114.8 kB / 0.9785 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.8366, allocations: 112.1 kB / 0.9786 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.8378, allocations: 0.5942 MB / 0.9792 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8378, allocations: 0 / 0.9792 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8379, allocations: 0 / 0.9792 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8379, allocations: 1.219 kB / 0.9792 GB, free: 4.328 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.001743/0.8396, allocations: 0.797 MB / 0.9799 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8397, allocations: 9.656 kB / 0.9799 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.84, allocations: 61.62 kB / 0.98 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.8408, allocations: 426.5 kB / 0.9804 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.8409, allocations: 20.16 kB / 0.9804 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.841, allocations: 31.02 kB / 0.9805 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.8417, allocations: 290.7 kB / 0.9807 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.8418, allocations: 1.125 kB / 0.9807 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.8418, allocations: 9.938 kB / 0.9808 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.8418, allocations: 6.75 kB / 0.9808 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.8425, allocations: 203.2 kB / 0.981 GB, free: 2.914 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.002702/0.8452, allocations: 1.473 MB / 0.9824 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.8457, allocations: 164.8 kB / 0.9825 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.846, allocations: 99.77 kB / 0.9826 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.8482, allocations: 1.285 MB / 0.9839 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8482, allocations: 31.94 kB / 0.9839 GB, free: 88 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.8482, allocations: 0 / 0.9839 GB, free: 88 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009052/0.8492, allocations: 269.6 kB / 0.9842 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.8492, allocations: 52.72 kB / 0.9842 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8503, allocations: 0.5802 MB / 0.9848 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.8503, allocations: 34.92 kB / 0.9848 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.8506, allocations: 269.9 kB / 0.9851 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.8507, allocations: 54.14 kB / 0.9851 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.8507, allocations: 5.156 kB / 0.9851 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.851, allocations: 362.9 kB / 0.9855 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.8512, allocations: 83.7 kB / 0.9856 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.8517, allocations: 211.9 kB / 0.9858 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.852, allocations: 103.5 kB / 0.9859 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.852, allocations: 0 / 0.9859 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008675/0.8529, allocations: 318.6 kB / 0.9862 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.8531, allocations: 157.8 kB / 0.9863 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8531, allocations: 4 kB / 0.9863 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.8531, allocations: 11.95 kB / 0.9863 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.8535, allocations: 67.89 kB / 0.9864 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.8536, allocations: 4 kB / 0.9864 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.8541, allocations: 51.66 kB / 0.9865 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.8542, allocations: 8 kB / 0.9865 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.8542, allocations: 8 kB / 0.9865 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006601/0.8549, allocations: 245.1 kB / 0.9867 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8549, allocations: 256 / 0.9867 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.8549, allocations: 8 kB / 0.9867 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.8552, allocations: 71.89 kB / 0.9868 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.8552, allocations: 4 kB / 0.9868 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.8557, allocations: 43.67 kB / 0.9868 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.8558, allocations: 15.98 kB / 0.9868 GB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.8561, allocations: 265 kB / 0.9871 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.8562, allocations: 51.39 kB / 0.9872 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.8571, allocations: 265.7 kB / 0.9874 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.8571, allocations: 4 kB / 0.9874 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8571, allocations: 0 / 0.9874 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.8571, allocations: 3.953 kB / 0.9874 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.8588, allocations: 0.7395 MB / 0.9881 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8588, allocations: 0 / 0.9881 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.859, allocations: 43.91 kB / 0.9882 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.859, allocations: 3.953 kB / 0.9882 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.859, allocations: 4 kB / 0.9882 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.859, allocations: 4.125 kB / 0.9882 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.859, allocations: 4.094 kB / 0.9882 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.8597, allocations: 369.8 kB / 0.9885 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.86, allocations: 156.4 kB / 0.9887 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.8601, allocations: 11.94 kB / 0.9887 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.8603, allocations: 15.98 kB / 0.9887 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.8604, allocations: 19.94 kB / 0.9887 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.8604, allocations: 8 kB / 0.9887 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005521/0.861, allocations: 418.8 kB / 0.9891 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.861, allocations: 0 / 0.9891 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009057/0.8619, allocations: 231.6 kB / 0.9894 GB, free: 10.99 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 (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.001374/0.8633, allocations: 0.4886 MB / 0.9898 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008067/0.8641, allocations: 328.3 kB / 0.9902 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8641, allocations: 256 / 0.9902 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.8643, allocations: 103.8 kB / 0.9903 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.8657, allocations: 250.8 kB / 0.9905 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.8672, allocations: 0.9564 MB / 0.9914 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.8676, allocations: 0.8468 MB / 0.9923 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00041/0.868, allocations: 100.2 kB / 0.9924 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.8681, allocations: 43.42 kB / 0.9924 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of SimCode: time 2.434e-06/0.8681, allocations: 0 / 0.9924 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of Templates: time 0.01892/0.8871, allocations: 9.58 MB / 1.002 GB, free: 14.52 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/jenkins/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