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.01/0.01, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002187/0.002187, allocations: 193.8 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.488/2.488, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.16 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3801, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03363/0.4138, allocations: 17.46 MB / 1.105 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4252, allocations: 4.914 MB / 1.11 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.4264, allocations: 19.88 kB / 1.11 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.4279, allocations: 250.4 kB / 1.11 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.4306, allocations: 0.6414 MB / 1.111 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.4338, allocations: 0.7254 MB / 1.111 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.436, allocations: 0.9624 MB / 1.112 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.4369, allocations: 340.8 kB / 1.113 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.4382, allocations: 434.3 kB / 1.113 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.4391, allocations: 306.7 kB / 1.113 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.4393, allocations: 32 kB / 1.113 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.4418, allocations: 0.7253 MB / 1.114 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.4421, allocations: 127.6 kB / 1.114 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.4428, allocations: 246.6 kB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.4455, allocations: 0.8873 MB / 1.115 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4456, allocations: 0 / 1.115 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4456, allocations: 0 / 1.115 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.4456, allocations: 0 / 1.115 GB, free: 5.367 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.002566/0.4482, allocations: 0.8981 MB / 1.116 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4483, allocations: 12.03 kB / 1.116 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.4486, allocations: 60.56 kB / 1.116 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4499, allocations: 470.1 kB / 1.117 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.45, allocations: 24.5 kB / 1.117 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.4501, allocations: 32 kB / 1.117 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.4508, allocations: 282.2 kB / 1.117 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4509, allocations: 3.938 kB / 1.117 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.4509, allocations: 12 kB / 1.117 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4509, allocations: 4 kB / 1.117 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.4516, allocations: 202 kB / 1.117 GB, free: 3.277 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.002854/0.4544, allocations: 1.476 MB / 1.119 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.4549, allocations: 162.8 kB / 1.119 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.4552, allocations: 86.53 kB / 1.119 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.4576, allocations: 1.272 MB / 1.12 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4577, allocations: 42.5 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.4577, allocations: 0 / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0009798/0.4587, allocations: 252.5 kB / 1.12 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4587, allocations: 55.41 kB / 1.12 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.4598, allocations: 0.5848 MB / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4599, allocations: 33.7 kB / 1.121 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.4602, allocations: 276.4 kB / 1.121 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.4603, allocations: 47.59 kB / 1.121 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.4605, allocations: 77.92 kB / 1.121 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.4607, allocations: 358.8 kB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.461, allocations: 77.94 kB / 1.122 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4614, allocations: 210.7 kB / 1.122 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.4621, allocations: 239.1 kB / 1.122 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4621, allocations: 4 kB / 1.122 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000936/0.463, allocations: 309 kB / 1.123 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4631, allocations: 8.188 kB / 1.123 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4631, allocations: 8 kB / 1.123 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.4631, allocations: 4 kB / 1.123 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.4635, allocations: 63.91 kB / 1.123 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.4636, allocations: 7.984 kB / 1.123 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.4642, allocations: 39.77 kB / 1.123 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.4642, allocations: 20.03 kB / 1.123 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004997/0.4648, allocations: 216.6 kB / 1.123 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004266/0.4652, allocations: 217.9 kB / 1.123 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006016/0.4658, allocations: 233 kB / 1.123 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.4658, allocations: 0 / 1.123 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009165/0.4668, allocations: 309 kB / 1.124 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4668, allocations: 4.25 kB / 1.124 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4668, allocations: 12.12 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.4668, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.4672, allocations: 67.84 kB / 1.124 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4672, allocations: 4 kB / 1.124 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.4676, allocations: 39.81 kB / 1.124 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.4676, allocations: 12 kB / 1.124 GB, free: 11.97 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.0001573/0.4678, allocations: 200.1 kB / 1.124 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4679, allocations: 63.61 kB / 1.124 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.4685, allocations: 261.6 kB / 1.124 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4685, allocations: 0 / 1.124 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4686, allocations: 0 / 1.124 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.4686, allocations: 3.984 kB / 1.124 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4697, allocations: 0.7356 MB / 1.125 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4697, allocations: 0 / 1.125 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.4699, allocations: 35.92 kB / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4699, allocations: 4 kB / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4699, allocations: 4 kB / 1.125 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4699, allocations: 4 kB / 1.125 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4699, allocations: 4.125 kB / 1.125 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.4704, allocations: 360.3 kB / 1.125 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4706, allocations: 148.8 kB / 1.126 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.4707, allocations: 4 kB / 1.126 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4709, allocations: 11.98 kB / 1.126 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.471, allocations: 19.92 kB / 1.126 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.471, allocations: 7.984 kB / 1.126 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005244/0.4715, allocations: 418.8 kB / 1.126 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4716, allocations: 0 / 1.126 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009322/0.4725, allocations: 235.5 kB / 1.126 GB, free: 9.355 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.001325/0.4738, allocations: 0.4945 MB / 1.127 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007801/0.4746, allocations: 322 kB / 1.127 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4746, allocations: 0 / 1.127 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4748, allocations: 91.95 kB / 1.127 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.4761, allocations: 243 kB / 1.127 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4776, allocations: 0.8239 MB / 1.128 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.4781, allocations: 0.8389 MB / 1.129 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.4785, allocations: 104.6 kB / 1.129 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.4786, allocations: 47.42 kB / 1.129 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/0.4786, allocations: 7.938 kB / 1.129 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of Templates: time 0.02004/0.4986, allocations: 10.23 MB / 1.139 GB, free: 12.36 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