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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007817/0.007824, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.001517/0.001517, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02058/1.075, allocations: 15.53 MB / 1.103 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008553/1.084, allocations: 4.342 MB / 1.107 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/1.085, allocations: 16.34 kB / 1.107 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009721/1.086, allocations: 258.5 kB / 1.108 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.088, allocations: 0.6088 MB / 1.108 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/1.091, allocations: 0.709 MB / 1.109 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001976/1.093, allocations: 1.025 MB / 1.11 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/1.093, allocations: 347.7 kB / 1.11 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/1.094, allocations: 425.4 kB / 1.111 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/1.095, allocations: 313.2 kB / 1.111 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/1.095, allocations: 27.22 kB / 1.111 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/1.097, allocations: 0.631 MB / 1.112 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.097, allocations: 103.3 kB / 1.112 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/1.097, allocations: 223.4 kB / 1.112 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.098, allocations: 0.7607 MB / 1.113 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.098, allocations: 0 / 1.113 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.156e-06/1.098, allocations: 4.453 kB / 1.113 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.098, allocations: 5.031 kB / 1.113 GB, free: 4.875 MB / 0.8731 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.001467/1.1, allocations: 0.8329 MB / 1.113 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.1, allocations: 9.531 kB / 1.113 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/1.1, allocations: 59.84 kB / 1.113 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/1.101, allocations: 432.3 kB / 1.114 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.101, allocations: 20.25 kB / 1.114 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/1.101, allocations: 26.81 kB / 1.114 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/1.102, allocations: 215.9 kB / 1.114 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.102, allocations: 0 / 1.114 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/1.102, allocations: 9.469 kB / 1.114 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.102, allocations: 5.969 kB / 1.114 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/1.102, allocations: 162.8 kB / 1.114 GB, free: 3.703 MB / 0.8731 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.001806/1.104, allocations: 0.9452 MB / 1.115 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/1.104, allocations: 132 kB / 1.115 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.104, allocations: 71.86 kB / 1.115 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/1.105, allocations: 339.8 kB / 1.116 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.105, allocations: 35.72 kB / 1.116 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/1.105, allocations: 0 / 1.116 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007092/1.105, allocations: 251.5 kB / 1.116 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.106, allocations: 53.25 kB / 1.116 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/1.106, allocations: 478.8 kB / 1.117 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/1.106, allocations: 32.14 kB / 1.117 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/1.106, allocations: 230.9 kB / 1.117 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/1.107, allocations: 45.83 kB / 1.117 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.107, allocations: 55.77 kB / 1.117 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.107, allocations: 361.7 kB / 1.117 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.107, allocations: 73.66 kB / 1.117 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/1.107, allocations: 153.4 kB / 1.117 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/1.108, allocations: 168.5 kB / 1.118 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.108, allocations: 0.5938 kB / 1.118 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007455/1.109, allocations: 250 kB / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.109, allocations: 5.75 kB / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.109, allocations: 0.5 kB / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.109, allocations: 6.031 kB / 1.118 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/1.109, allocations: 51.16 kB / 1.118 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.109, allocations: 2.156 kB / 1.118 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/1.109, allocations: 36.86 kB / 1.118 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.109, allocations: 8.703 kB / 1.118 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003429/1.11, allocations: 188.2 kB / 1.118 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003181/1.11, allocations: 162 kB / 1.118 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003957/1.11, allocations: 174.2 kB / 1.118 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/1.11, allocations: 1.219 kB / 1.118 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0006204/1.111, allocations: 256.6 kB / 1.119 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.111, allocations: 6.172 kB / 1.119 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.111, allocations: 1.625 kB / 1.119 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.111, allocations: 2.562 kB / 1.119 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/1.111, allocations: 46.12 kB / 1.119 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.111, allocations: 6.688 kB / 1.119 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/1.112, allocations: 34.95 kB / 1.119 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.112, allocations: 13.33 kB / 1.119 GB, free: 0.7383 MB / 0.8731 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.0001554/1.112, allocations: 198.2 kB / 1.119 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/1.112, allocations: 40.03 kB / 1.119 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/1.113, allocations: 254.9 kB / 1.119 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.113, allocations: 3.422 kB / 1.119 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.113, allocations: 7.938 kB / 1.119 GB, free: 412 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.113, allocations: 5.062 kB / 1.119 GB, free: 408 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.114, allocations: 0.7052 MB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.114, allocations: 2.109 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/1.114, allocations: 27.61 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.114, allocations: 2.766 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.114, allocations: 6.719 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.114, allocations: 6.625 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.114, allocations: 5.594 kB / 1.12 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/1.115, allocations: 336 kB / 1.12 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/1.115, allocations: 138.4 kB / 1.12 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/1.115, allocations: 3.812 kB / 1.121 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.115, allocations: 22.72 kB / 1.121 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/1.115, allocations: 14.48 kB / 1.121 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/1.115, allocations: 10.38 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004423/1.116, allocations: 332 kB / 1.121 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 1.438 kB / 1.121 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008133/1.117, allocations: 197.3 kB / 1.121 GB, free: 15.33 MB / 0.8887 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.001336/1.118, allocations: 483.7 kB / 1.122 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007949/1.119, allocations: 272.6 kB / 1.122 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.119, allocations: 0 / 1.122 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/1.119, allocations: 80.86 kB / 1.122 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.12, allocations: 201.5 kB / 1.122 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/1.121, allocations: 0.7029 MB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/1.122, allocations: 0.83 MB / 1.124 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003099/1.122, allocations: 85.67 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/1.122, allocations: 44.97 kB / 1.124 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of SimCode: time 2.745e-06/1.122, allocations: 3.938 kB / 1.124 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of Templates: time 0.02262/1.145, allocations: 8.51 MB / 1.132 GB, free: 13.04 MB / 0.8887 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/jenkins/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