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.001042/0.001042, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009807/0.0009807, allocations: 177.3 kB / 15.95 MB, free: 216 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.387/2.387, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8957/0.896, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01503/0.9111, allocations: 14.74 MB / 0.9679 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007092/0.9182, allocations: 4.24 MB / 0.972 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.9191, allocations: 14 kB / 0.9721 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.9201, allocations: 234.6 kB / 0.9723 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.9222, allocations: 0.555 MB / 0.9728 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.9246, allocations: 0.763 MB / 0.9736 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.926, allocations: 0.5944 MB / 0.9741 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.9264, allocations: 261.5 kB / 0.9744 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.9271, allocations: 337.2 kB / 0.9747 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.9275, allocations: 224.9 kB / 0.9749 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.9275, allocations: 14.47 kB / 0.9749 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.9288, allocations: 458.2 kB / 0.9754 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.9289, allocations: 107.2 kB / 0.9755 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.9291, allocations: 116.4 kB / 0.9756 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.9299, allocations: 0.5423 MB / 0.9761 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9299, allocations: 4 kB / 0.9761 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9299, allocations: 1.188 kB / 0.9761 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.9299, allocations: 0 / 0.9761 GB, free: 6.367 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.001289/0.9312, allocations: 0.7867 MB / 0.9769 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.9312, allocations: 9.312 kB / 0.9769 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.9315, allocations: 56.66 kB / 0.977 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.9321, allocations: 422.3 kB / 0.9774 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.9322, allocations: 24.94 kB / 0.9774 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.9322, allocations: 32.02 kB / 0.9774 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.9328, allocations: 289 kB / 0.9777 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9328, allocations: 0 / 0.9777 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.9328, allocations: 14.38 kB / 0.9777 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.9328, allocations: 10.62 kB / 0.9777 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.9333, allocations: 194.7 kB / 0.9779 GB, free: 4.973 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.002151/0.9354, allocations: 1.476 MB / 0.9793 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.936, allocations: 169.5 kB / 0.9795 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00244/0.9384, allocations: 1.289 MB / 0.9808 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.9385, allocations: 35.94 kB / 0.9808 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.014e-05/0.9385, allocations: 3.984 kB / 0.9808 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001008/0.9395, allocations: 264.9 kB / 0.9811 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.9396, allocations: 56.5 kB / 0.9811 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.9408, allocations: 0.5766 MB / 0.9817 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.9408, allocations: 31.98 kB / 0.9817 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.9411, allocations: 273.5 kB / 0.982 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.9412, allocations: 50.27 kB / 0.982 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.9412, allocations: 5.031 kB / 0.982 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.9414, allocations: 363.2 kB / 0.9824 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.9417, allocations: 83.64 kB / 0.9824 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.9422, allocations: 209.8 kB / 0.9826 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.9425, allocations: 98.72 kB / 0.9827 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9425, allocations: 0 / 0.9827 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009386/0.9435, allocations: 321 kB / 0.983 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.944, allocations: 0.9585 MB / 0.984 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.944, allocations: 2.5 kB / 0.984 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.9441, allocations: 4.312 kB / 0.984 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.9445, allocations: 66.08 kB / 0.984 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9445, allocations: 9.156 kB / 0.9841 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.9452, allocations: 51.31 kB / 0.9841 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.9452, allocations: 15.47 kB / 0.9841 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.9452, allocations: 8.266 kB / 0.9841 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007597/0.946, allocations: 241 kB / 0.9844 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.946, allocations: 7.406 kB / 0.9844 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.9461, allocations: 3.719 kB / 0.9844 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.9464, allocations: 74.66 kB / 0.9844 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9465, allocations: 7.719 kB / 0.9844 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.947, allocations: 39.02 kB / 0.9845 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.947, allocations: 14.83 kB / 0.9845 GB, free: 15.29 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.0003944/0.9474, allocations: 260.2 kB / 0.9847 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.9475, allocations: 57.41 kB / 0.9848 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.9484, allocations: 270.7 kB / 0.9851 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.9484, allocations: 10.75 kB / 0.9851 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9484, allocations: 0 / 0.9851 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9485, allocations: 0 / 0.9851 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.95, allocations: 0.7449 MB / 0.9858 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9501, allocations: 1.5 kB / 0.9858 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.9503, allocations: 33.78 kB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.9503, allocations: 2.031 kB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.9503, allocations: 6.406 kB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.9503, allocations: 2.594 kB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.9504, allocations: 5.234 kB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.9511, allocations: 407.4 kB / 0.9862 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.9514, allocations: 160.3 kB / 0.9864 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.9515, allocations: 7.953 kB / 0.9864 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.9518, allocations: 24.17 kB / 0.9864 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.9519, allocations: 15.98 kB / 0.9864 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.952, allocations: 7.984 kB / 0.9864 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006999/0.9527, allocations: 418.8 kB / 0.9868 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9527, allocations: 0 / 0.9868 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001335/0.954, allocations: 231.6 kB / 0.9871 GB, free: 12.98 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.001631/0.9557, allocations: 494.7 kB / 0.9875 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.9568, allocations: 334.5 kB / 0.9879 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9568, allocations: 4.062 kB / 0.9879 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.9571, allocations: 87.89 kB / 0.9879 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.959, allocations: 248 kB / 0.9882 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.9611, allocations: 0.9603 MB / 0.9891 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.9616, allocations: 0.8623 MB / 0.99 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005874/0.9622, allocations: 100.6 kB / 0.9901 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.9623, allocations: 35.44 kB / 0.9901 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of SimCode: time 1.343e-06/0.9624, allocations: 0 / 0.9901 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of Templates: time 0.0268/0.9892, allocations: 9.592 MB / 0.9995 GB, free: 496 kB / 0.7481 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