Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.08e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01166/0.01169, allocations: 16.2 MB / 1.017 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.0161, allocations: 4.663 MB / 1.021 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.01637, allocations: 23.81 kB / 1.021 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.01706, allocations: 250.3 kB / 1.022 GB, free: 7.773 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.01795, allocations: 0.6797 MB / 1.022 GB, free: 7.09 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.01896, allocations: 0.7731 MB / 1.023 GB, free: 6.324 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006965/0.01965, allocations: 0.9621 MB / 1.024 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.01995, allocations: 264.9 kB / 1.024 GB, free: 5.094 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.02049, allocations: 0.5996 MB / 1.025 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.02073, allocations: 263.2 kB / 1.025 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.02077, allocations: 32 kB / 1.025 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.02146, allocations: 0.612 MB / 1.026 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.02155, allocations: 143.4 kB / 1.026 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.02166, allocations: 159.5 kB / 1.026 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.02247, allocations: 0.9034 MB / 1.027 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.02247, allocations: 0 / 1.027 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02247, allocations: 0 / 1.027 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.02248, allocations: 0 / 1.027 GB, free: 2.387 MB / 0.9792 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.0008533/0.02333, allocations: 0.8072 MB / 1.028 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.02337, allocations: 12.75 kB / 1.028 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.02349, allocations: 60.56 kB / 1.028 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.02396, allocations: 406.2 kB / 1.028 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.02398, allocations: 24.88 kB / 1.028 GB, free: 1.031 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.02401, allocations: 28.38 kB / 1.028 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.02435, allocations: 293.2 kB / 1.028 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.02436, allocations: 0 / 1.028 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.02438, allocations: 8 kB / 1.028 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.02439, allocations: 8 kB / 1.028 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.02464, allocations: 197.8 kB / 1.029 GB, free: 500 kB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.02574, allocations: 1.159 MB / 1.03 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.02598, allocations: 154.8 kB / 1.03 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.02608, allocations: 80.81 kB / 1.03 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/0.02677, allocations: 0.5273 MB / 1.03 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.02678, allocations: 34.56 kB / 1.03 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.02679, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004014/0.02719, allocations: 260.3 kB / 1.031 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.02722, allocations: 59.34 kB / 1.031 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.02763, allocations: 0.5566 MB / 1.031 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.02765, allocations: 25.7 kB / 1.031 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.02779, allocations: 272.3 kB / 1.032 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.02782, allocations: 51.53 kB / 1.032 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.02789, allocations: 73.92 kB / 1.032 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.02798, allocations: 358.8 kB / 1.032 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.02817, allocations: 81.94 kB / 1.032 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.0284, allocations: 442 kB / 1.033 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.02865, allocations: 231.5 kB / 1.033 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02866, allocations: 0 / 1.033 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003443/0.029, allocations: 307.4 kB / 1.033 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.02902, allocations: 13.62 kB / 1.033 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.02902, allocations: 4 kB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.02904, allocations: 4 kB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.02918, allocations: 59.89 kB / 1.033 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.02918, allocations: 7.938 kB / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.02933, allocations: 35.83 kB / 1.033 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.02935, allocations: 19.98 kB / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001872/0.02954, allocations: 212.6 kB / 1.033 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002244/0.02977, allocations: 455.3 kB / 1.034 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002232/0.02999, allocations: 233.3 kB / 1.034 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.02999, allocations: 3.938 kB / 1.034 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003229/0.03031, allocations: 306.9 kB / 1.034 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.03032, allocations: 8 kB / 1.034 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.03032, allocations: 0 / 1.034 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-06/0.03033, allocations: 4.25 kB / 1.034 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.03044, allocations: 63.91 kB / 1.034 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.03044, allocations: 11.92 kB / 1.034 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.03059, allocations: 39.81 kB / 1.034 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.03061, allocations: 12 kB / 1.035 GB, free: 9.965 MB / 0.9948 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 8.194e-05/0.03069, allocations: 200.2 kB / 1.035 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.03073, allocations: 43.91 kB / 1.035 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.03106, allocations: 257.3 kB / 1.035 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.03107, allocations: 15.86 kB / 1.035 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.03107, allocations: 3.938 kB / 1.035 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.03108, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.03166, allocations: 0.6377 MB / 1.036 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03166, allocations: 4 kB / 1.036 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.03173, allocations: 36.05 kB / 1.036 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.03173, allocations: 3.938 kB / 1.036 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.03174, allocations: 8 kB / 1.036 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.03174, allocations: 0 / 1.036 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03174, allocations: 4 kB / 1.036 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.03202, allocations: 356.4 kB / 1.036 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.03209, allocations: 67.58 kB / 1.036 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.03212, allocations: 4 kB / 1.036 GB, free: 8.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.03221, allocations: 15.98 kB / 1.036 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.03225, allocations: 15.97 kB / 1.036 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.03226, allocations: 8 kB / 1.036 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002759/0.03253, allocations: 394.8 kB / 1.037 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.03253, allocations: 0 / 1.037 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000444/0.03298, allocations: 239.5 kB / 1.037 GB, free: 7.598 MB / 0.9948 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.0008096/0.03379, allocations: 0.5066 MB / 1.037 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.03421, allocations: 312.1 kB / 1.038 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03421, allocations: 0 / 1.038 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.03432, allocations: 83.89 kB / 1.038 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.03491, allocations: 226.5 kB / 1.038 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.03579, allocations: 0.8156 MB / 1.039 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.03594, allocations: 238.1 kB / 1.039 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.036, allocations: 40.48 kB / 1.039 GB, free: 5.473 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.036, allocations: 4 kB / 1.039 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of Templates: time 0.007311/0.04331, allocations: 8.447 MB / 1.047 GB, free: 13.08 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.61593084409833]