Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 192.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9616/0.9636, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02253/0.9861, allocations: 17.76 MB / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009357/0.9955, allocations: 4.972 MB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008756/0.9964, allocations: 15.94 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.9974, allocations: 254.4 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.9995, allocations: 0.6375 MB / 1.297 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/1.002, allocations: 0.7369 MB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001629/1.003, allocations: 0.9741 MB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/1.004, allocations: 285 kB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/1.005, allocations: 430.3 kB / 1.299 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/1.005, allocations: 326.5 kB / 1.3 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/1.005, allocations: 32 kB / 1.3 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.007, allocations: 0.737 MB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/1.007, allocations: 131.5 kB / 1.301 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000275/1.007, allocations: 254.6 kB / 1.301 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/1.009, allocations: 0.8834 MB / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.009, allocations: 0 / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/1.009, allocations: 0 / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.009, allocations: 0 / 1.302 GB, free: 8.059 MB / 0.9981 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.001506/1.011, allocations: 0.8981 MB / 1.303 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.011, allocations: 19.97 kB / 1.303 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/1.011, allocations: 64.55 kB / 1.303 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/1.012, allocations: 462.1 kB / 1.303 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/1.012, allocations: 28.5 kB / 1.303 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/1.012, allocations: 28 kB / 1.303 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/1.012, allocations: 282.3 kB / 1.304 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.012, allocations: 0 / 1.304 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/1.012, allocations: 12 kB / 1.304 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/1.012, allocations: 7.938 kB / 1.304 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/1.013, allocations: 194.1 kB / 1.304 GB, free: 5.98 MB / 0.9981 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.002116/1.015, allocations: 1.469 MB / 1.305 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/1.015, allocations: 162.7 kB / 1.305 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.015, allocations: 76.8 kB / 1.305 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/1.017, allocations: 1.276 MB / 1.307 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.017, allocations: 34.5 kB / 1.307 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/1.017, allocations: 0 / 1.307 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0006976/1.018, allocations: 252.2 kB / 1.307 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/1.018, allocations: 63.28 kB / 1.307 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/1.019, allocations: 0.5887 MB / 1.308 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/1.019, allocations: 33.7 kB / 1.308 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/1.019, allocations: 268.5 kB / 1.308 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/1.019, allocations: 59.52 kB / 1.308 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.019, allocations: 69.92 kB / 1.308 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.019, allocations: 358.8 kB / 1.308 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/1.02, allocations: 81.94 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/1.02, allocations: 202.8 kB / 1.309 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/1.02, allocations: 239.2 kB / 1.309 GB, free: 336 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.02, allocations: 4 kB / 1.309 GB, free: 332 kB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006308/1.021, allocations: 317.2 kB / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.021, allocations: 9.656 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.021, allocations: 11.97 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.021, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.021, allocations: 59.91 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.021, allocations: 4 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.022, allocations: 43.77 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/1.022, allocations: 15.98 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003385/1.022, allocations: 216.7 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003146/1.022, allocations: 207 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004251/1.023, allocations: 235.3 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/1.023, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006277/1.023, allocations: 319.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.023, allocations: 12 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.023, allocations: 7.875 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/1.023, allocations: 4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.024, allocations: 59.91 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.024, allocations: 4 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/1.024, allocations: 35.86 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.024, allocations: 16 kB / 1.31 GB, free: 14.68 MB / 1.014 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.0001626/1.024, allocations: 200.2 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/1.024, allocations: 55.59 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/1.025, allocations: 257.6 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.025, allocations: 3.984 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.025, allocations: 3.938 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.025, allocations: 4 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/1.026, allocations: 0.7375 MB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.026, allocations: 0 / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.026, allocations: 31.92 kB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.026, allocations: 4 kB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.026, allocations: 16.11 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.026, allocations: 4 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.026, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/1.027, allocations: 358.4 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/1.027, allocations: 140.7 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/1.027, allocations: 8 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.027, allocations: 15.98 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/1.027, allocations: 11.92 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.027, allocations: 8 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005394/1.028, allocations: 418.8 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.028, allocations: 4 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000837/1.029, allocations: 231.6 kB / 1.313 GB, free: 12.08 MB / 1.014 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.001745/1.031, allocations: 0.4929 MB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008564/1.031, allocations: 302.3 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.031, allocations: 8.25 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.032, allocations: 86.7 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.033, allocations: 250 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.035, allocations: 0.8139 MB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/1.035, allocations: 0.8545 MB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003324/1.036, allocations: 104.2 kB / 1.316 GB, free: 9.262 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/1.036, allocations: 39.42 kB / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/1.036, allocations: 0 / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of Templates: time 0.02166/1.057, allocations: 10.37 MB / 1.326 GB, free: 15 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.46733064390719]