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.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.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.007451/0.007451, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001621/0.001621, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.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.547/2.547, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 66.7 kB / 0.9508 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01913/0.3335, allocations: 17.46 MB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00766/0.3412, allocations: 4.91 MB / 1.11 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.3418, allocations: 15.88 kB / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.3428, allocations: 258.3 kB / 1.11 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.3444, allocations: 0.6063 MB / 1.111 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3467, allocations: 0.7379 MB / 1.111 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.3482, allocations: 0.9624 MB / 1.112 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.3487, allocations: 336.9 kB / 1.113 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007287/0.3495, allocations: 430.3 kB / 1.113 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.3499, allocations: 306.7 kB / 1.113 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.35, allocations: 28 kB / 1.113 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.3513, allocations: 0.7292 MB / 1.114 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3514, allocations: 135.5 kB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.3517, allocations: 238.6 kB / 1.114 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3529, allocations: 0.8841 MB / 1.115 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.353, allocations: 4 kB / 1.115 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.764e-06/0.353, allocations: 0 / 1.115 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.353, allocations: 0 / 1.115 GB, free: 5.379 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001219/0.3542, allocations: 0.8719 MB / 1.116 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.3543, allocations: 8.031 kB / 1.116 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3544, allocations: 60.28 kB / 1.116 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.3551, allocations: 469.6 kB / 1.117 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3551, allocations: 28.5 kB / 1.117 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.3552, allocations: 28 kB / 1.117 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.3557, allocations: 282.2 kB / 1.117 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3557, allocations: 4 kB / 1.117 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.3558, allocations: 15.98 kB / 1.117 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3558, allocations: 8 kB / 1.117 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.3562, allocations: 194 kB / 1.117 GB, free: 3.32 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.001811/0.358, allocations: 1.48 MB / 1.119 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.3584, allocations: 154.8 kB / 1.119 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3585, allocations: 88.81 kB / 1.119 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.3601, allocations: 1.264 MB / 1.12 GB, free: 28 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.3602, allocations: 42.5 kB / 1.12 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3602, allocations: 0 / 1.12 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0006348/0.3608, allocations: 253 kB / 1.12 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3609, allocations: 51.41 kB / 1.12 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.3615, allocations: 0.5847 MB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3616, allocations: 33.7 kB / 1.121 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3618, allocations: 276.1 kB / 1.121 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.3618, allocations: 47.3 kB / 1.121 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3619, allocations: 73.88 kB / 1.121 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3621, allocations: 358.8 kB / 1.122 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3623, allocations: 77.94 kB / 1.122 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.3626, allocations: 210.7 kB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.363, allocations: 238.8 kB / 1.122 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.363, allocations: 0 / 1.122 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005826/0.3636, allocations: 306.8 kB / 1.123 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3636, allocations: 11.94 kB / 1.123 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3636, allocations: 4.234 kB / 1.123 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3637, allocations: 8 kB / 1.123 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3639, allocations: 67.89 kB / 1.123 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3639, allocations: 4 kB / 1.123 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.3643, allocations: 43.67 kB / 1.123 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3643, allocations: 19.94 kB / 1.123 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/0.3646, allocations: 216.6 kB / 1.123 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002973/0.3649, allocations: 214 kB / 1.123 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003854/0.3653, allocations: 231.1 kB / 1.123 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.3654, allocations: 4 kB / 1.123 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005566/0.3659, allocations: 300.8 kB / 1.124 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3659, allocations: 8 kB / 1.124 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3659, allocations: 8.188 kB / 1.124 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/0.366, allocations: 8 kB / 1.124 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3662, allocations: 59.91 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.3662, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3665, allocations: 39.75 kB / 1.124 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3666, allocations: 16 kB / 1.124 GB, free: 12.03 MB / 0.8887 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.0001448/0.3667, allocations: 200.2 kB / 1.124 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.3668, allocations: 51.28 kB / 1.124 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.3674, allocations: 263.7 kB / 1.124 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3674, allocations: 4 kB / 1.124 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3674, allocations: 4 kB / 1.124 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3674, allocations: 3.984 kB / 1.124 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3685, allocations: 0.7278 MB / 1.125 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3685, allocations: 4 kB / 1.125 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3687, allocations: 35.92 kB / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3687, allocations: 0 / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3687, allocations: 4 kB / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3687, allocations: 0 / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3687, allocations: 4 kB / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.3692, allocations: 360.7 kB / 1.125 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.3694, allocations: 148.4 kB / 1.125 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.3694, allocations: 11.98 kB / 1.126 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3696, allocations: 8 kB / 1.126 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3697, allocations: 19.91 kB / 1.126 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3697, allocations: 8 kB / 1.126 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004444/0.3702, allocations: 418.8 kB / 1.126 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3702, allocations: 0 / 1.126 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007403/0.3709, allocations: 227.7 kB / 1.126 GB, free: 9.438 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 (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.00117/0.3721, allocations: 0.493 MB / 1.127 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007341/0.3728, allocations: 329.5 kB / 1.127 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3728, allocations: 1 kB / 1.127 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.373, allocations: 88.14 kB / 1.127 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3742, allocations: 242.5 kB / 1.127 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3755, allocations: 0.8052 MB / 1.128 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.3761, allocations: 0.8468 MB / 1.129 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.3764, allocations: 96.69 kB / 1.129 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.3765, allocations: 43.36 kB / 1.129 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.3765, allocations: 7.938 kB / 1.129 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of Templates: time 0.01736/0.3939, allocations: 10.25 MB / 1.139 GB, free: 12.45 MB / 0.9044 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