Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009534/0.009534, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.00194/0.00194, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.618/2.618, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8878, allocations: 159.1 MB / 1.221 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01697/0.9047, allocations: 15.56 MB / 1.236 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.9123, allocations: 4.346 MB / 1.24 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007797/0.9131, allocations: 15.88 kB / 1.24 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.9142, allocations: 270.4 kB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.916, allocations: 0.6317 MB / 1.241 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.9181, allocations: 0.7145 MB / 1.242 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.9196, allocations: 1.029 MB / 1.243 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.9201, allocations: 287.8 kB / 1.243 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.9209, allocations: 426.4 kB / 1.243 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.9213, allocations: 326.5 kB / 1.244 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.9214, allocations: 31.98 kB / 1.244 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.9225, allocations: 0.6317 MB / 1.244 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.9226, allocations: 99.55 kB / 1.244 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.9228, allocations: 222.8 kB / 1.245 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.9238, allocations: 0.7753 MB / 1.245 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9238, allocations: 0 / 1.245 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9238, allocations: 0 / 1.245 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.9239, allocations: 0 / 1.245 GB, free: 8.836 MB / 0.9669 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.001266/0.9251, allocations: 0.8553 MB / 1.246 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9252, allocations: 12.62 kB / 1.246 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.9253, allocations: 56.56 kB / 1.246 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.9259, allocations: 437.8 kB / 1.247 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.926, allocations: 20.44 kB / 1.247 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.926, allocations: 24 kB / 1.247 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.9265, allocations: 219.2 kB / 1.247 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9265, allocations: 3.984 kB / 1.247 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.9265, allocations: 16 kB / 1.247 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.9265, allocations: 4 kB / 1.247 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.9269, allocations: 161.6 kB / 1.247 GB, free: 6.953 MB / 0.9669 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.001588/0.9285, allocations: 0.9459 MB / 1.248 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.9288, allocations: 126.6 kB / 1.248 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.9289, allocations: 68.75 kB / 1.248 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.9292, allocations: 340.5 kB / 1.249 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.9292, allocations: 30.56 kB / 1.249 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.9292, allocations: 0 / 1.249 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006416/0.9299, allocations: 250.8 kB / 1.249 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.9299, allocations: 55.41 kB / 1.249 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.9305, allocations: 478 kB / 1.249 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.9305, allocations: 33.7 kB / 1.249 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.9307, allocations: 236.7 kB / 1.25 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.9307, allocations: 39.64 kB / 1.25 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.9308, allocations: 57.66 kB / 1.25 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.931, allocations: 362.7 kB / 1.25 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.9312, allocations: 72.81 kB / 1.25 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.9314, allocations: 147.7 kB / 1.25 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.9318, allocations: 172.2 kB / 1.25 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9318, allocations: 0 / 1.25 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005072/0.9323, allocations: 253.2 kB / 1.251 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9323, allocations: 10.34 kB / 1.251 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9323, allocations: 4.078 kB / 1.251 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.9323, allocations: 3.938 kB / 1.251 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.9326, allocations: 47.91 kB / 1.251 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.9326, allocations: 4 kB / 1.251 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.9329, allocations: 39.8 kB / 1.251 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.9329, allocations: 12 kB / 1.251 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002851/0.9332, allocations: 188.1 kB / 1.251 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002414/0.9335, allocations: 163.8 kB / 1.251 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003168/0.9338, allocations: 168.1 kB / 1.251 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/0.9338, allocations: 8 kB / 1.251 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004654/0.9342, allocations: 247.2 kB / 1.251 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.9343, allocations: 4 kB / 1.251 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.9343, allocations: 4 kB / 1.251 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.9343, allocations: 0 / 1.251 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.9345, allocations: 55.84 kB / 1.252 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.9345, allocations: 4 kB / 1.252 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.9348, allocations: 31.98 kB / 1.252 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.9348, allocations: 8 kB / 1.252 GB, free: 2.039 MB / 0.9669 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.000135/0.9349, allocations: 208.1 kB / 1.252 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.935, allocations: 43.67 kB / 1.252 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.9356, allocations: 245.3 kB / 1.252 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.9356, allocations: 3.938 kB / 1.252 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9356, allocations: 0 / 1.252 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.9356, allocations: 4 kB / 1.252 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.9366, allocations: 0.7045 MB / 1.253 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9366, allocations: 4.031 kB / 1.253 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.9367, allocations: 35.97 kB / 1.253 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9367, allocations: 0 / 1.253 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.9367, allocations: 4 kB / 1.253 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.9367, allocations: 7.922 kB / 1.253 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9367, allocations: 7.938 kB / 1.253 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.9372, allocations: 346.5 kB / 1.253 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.9374, allocations: 136.7 kB / 1.253 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.9374, allocations: 4 kB / 1.253 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.9376, allocations: 15.92 kB / 1.253 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9377, allocations: 27.91 kB / 1.253 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.9377, allocations: 4 kB / 1.253 GB, free: 136 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003844/0.9381, allocations: 338.9 kB / 1.254 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9381, allocations: 3.938 kB / 1.254 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006972/0.9388, allocations: 195.6 kB / 1.254 GB, free: 15.61 MB / 0.9825 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.001184/0.94, allocations: 482.4 kB / 1.254 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006691/0.9406, allocations: 253.8 kB / 1.255 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9406, allocations: 4 kB / 1.255 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.9408, allocations: 87.83 kB / 1.255 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.9418, allocations: 200.8 kB / 1.255 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.9431, allocations: 0.7234 MB / 1.256 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.9434, allocations: 0.827 MB / 1.256 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.9437, allocations: 83.53 kB / 1.256 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.9438, allocations: 39.36 kB / 1.256 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.9438, allocations: 0 / 1.256 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of Templates: time 0.01579/0.9596, allocations: 8.544 MB / 1.265 GB, free: 4.59 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches