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.007447/0.007447, allocations: 100.9 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.001505/0.001505, allocations: 199 kB / 16.68 MB, free: 5.965 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.11 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3985, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01719/0.4158, allocations: 15.54 MB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007136/0.423, allocations: 4.338 MB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007187/0.4237, allocations: 15.88 kB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.4248, allocations: 266.3 kB / 1.108 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.4267, allocations: 0.6258 MB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.4288, allocations: 0.7208 MB / 1.109 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.4303, allocations: 1.025 MB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.4308, allocations: 347.7 kB / 1.11 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007564/0.4315, allocations: 434.3 kB / 1.111 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.432, allocations: 322.5 kB / 1.111 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.4321, allocations: 28 kB / 1.111 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.4333, allocations: 0.6278 MB / 1.112 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.4334, allocations: 103.5 kB / 1.112 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.4336, allocations: 226.7 kB / 1.112 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.4347, allocations: 0.7666 MB / 1.113 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.4347, allocations: 7.984 kB / 1.113 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4348, allocations: 0 / 1.113 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4348, allocations: 0 / 1.113 GB, free: 8.047 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.001255/0.436, allocations: 0.84 MB / 1.114 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4361, allocations: 8.031 kB / 1.114 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4362, allocations: 56.61 kB / 1.114 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.4369, allocations: 445.7 kB / 1.114 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.437, allocations: 20.44 kB / 1.114 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.437, allocations: 28 kB / 1.114 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.4374, allocations: 215.2 kB / 1.114 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4375, allocations: 0 / 1.114 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.4375, allocations: 8 kB / 1.114 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4375, allocations: 4 kB / 1.114 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.4379, allocations: 169.6 kB / 1.114 GB, free: 6.18 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.001579/0.4395, allocations: 0.9459 MB / 1.115 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.4398, allocations: 134.6 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.44, allocations: 72.81 kB / 1.116 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.4403, allocations: 332.5 kB / 1.116 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4403, allocations: 38.56 kB / 1.116 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.4403, allocations: 0 / 1.116 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0006442/0.441, allocations: 245.2 kB / 1.116 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.441, allocations: 59.41 kB / 1.116 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.4415, allocations: 470 kB / 1.117 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4416, allocations: 29.7 kB / 1.117 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.4417, allocations: 228.7 kB / 1.117 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4418, allocations: 55.53 kB / 1.117 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.4419, allocations: 61.69 kB / 1.117 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.442, allocations: 350.7 kB / 1.117 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4422, allocations: 76.81 kB / 1.117 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4425, allocations: 159.5 kB / 1.118 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.4428, allocations: 160.4 kB / 1.118 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4429, allocations: 0 / 1.118 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005117/0.4434, allocations: 259 kB / 1.118 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4434, allocations: 4 kB / 1.118 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4434, allocations: 4.094 kB / 1.118 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4434, allocations: 7.938 kB / 1.118 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4437, allocations: 55.84 kB / 1.118 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4437, allocations: 0 / 1.118 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.444, allocations: 31.83 kB / 1.118 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4441, allocations: 11.98 kB / 1.118 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000271/0.4443, allocations: 188.1 kB / 1.118 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002514/0.4446, allocations: 170.5 kB / 1.118 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003324/0.4449, allocations: 171.5 kB / 1.119 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.445, allocations: 0 / 1.119 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004996/0.4455, allocations: 253.2 kB / 1.119 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/0.4455, allocations: 11.94 kB / 1.119 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.4455, allocations: 0 / 1.119 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/0.4455, allocations: 4 kB / 1.119 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.4457, allocations: 48.03 kB / 1.119 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.4457, allocations: 0 / 1.119 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.4461, allocations: 39.86 kB / 1.119 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4461, allocations: 12 kB / 1.119 GB, free: 1.242 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.0001206/0.4462, allocations: 196.7 kB / 1.119 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.4463, allocations: 43.91 kB / 1.119 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.4469, allocations: 257.1 kB / 1.119 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4469, allocations: 7.984 kB / 1.119 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4469, allocations: 0 / 1.119 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4469, allocations: 0 / 1.119 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4479, allocations: 0.7006 MB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4479, allocations: 0 / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4481, allocations: 31.92 kB / 1.12 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4481, allocations: 4 kB / 1.12 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4481, allocations: 7.984 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4481, allocations: 11.88 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4481, allocations: 0 / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.4486, allocations: 340.9 kB / 1.12 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.4487, allocations: 136.8 kB / 1.121 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.4488, allocations: 4 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.449, allocations: 19.92 kB / 1.121 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.4491, allocations: 15.92 kB / 1.121 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4491, allocations: 8 kB / 1.121 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003595/0.4495, allocations: 334.9 kB / 1.121 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4495, allocations: 0 / 1.121 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006654/0.4501, allocations: 203.6 kB / 1.121 GB, free: 14.83 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.001179/0.4513, allocations: 483.6 kB / 1.122 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.452, allocations: 275.7 kB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.452, allocations: 0 / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.4522, allocations: 79.89 kB / 1.122 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4533, allocations: 196 kB / 1.122 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4545, allocations: 0.7214 MB / 1.123 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4549, allocations: 0.823 MB / 1.124 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.4552, allocations: 91.52 kB / 1.124 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.4553, allocations: 43.42 kB / 1.124 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/0.4553, allocations: 0 / 1.124 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of Templates: time 0.01547/0.4708, allocations: 8.507 MB / 1.132 GB, free: 3.812 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