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.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.001707/0.001707, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002077/0.002077, allocations: 223.1 kB / 23 MB, free: 4.91 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 65.73 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02063/0.4003, allocations: 16.35 MB / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.4087, allocations: 4.708 MB / 1.304 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.4094, allocations: 23.81 kB / 1.304 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4104, allocations: 254.4 kB / 1.305 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.4124, allocations: 0.6803 MB / 1.305 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4146, allocations: 0.7376 MB / 1.306 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.4164, allocations: 0.9858 MB / 1.307 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005999/0.417, allocations: 285.5 kB / 1.307 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.418, allocations: 450.2 kB / 1.308 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.4185, allocations: 318.5 kB / 1.308 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.4186, allocations: 28 kB / 1.308 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4201, allocations: 0.6044 MB / 1.309 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.4203, allocations: 143.4 kB / 1.309 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.4205, allocations: 202.9 kB / 1.309 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.422, allocations: 0.8756 MB / 1.31 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4221, allocations: 0 / 1.31 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4221, allocations: 4 kB / 1.31 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.4221, allocations: 0 / 1.31 GB, free: 1.211 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.001574/0.4236, allocations: 0.8344 MB / 1.311 GB, free: 352 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4237, allocations: 8.031 kB / 1.311 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.4239, allocations: 64.56 kB / 1.311 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.4248, allocations: 399.1 kB / 1.311 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.4249, allocations: 24.44 kB / 1.311 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.4249, allocations: 28 kB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.4255, allocations: 289.2 kB / 1.311 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4255, allocations: 0 / 1.311 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.4255, allocations: 16 kB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4256, allocations: 4 kB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.426, allocations: 185.8 kB / 1.312 GB, free: 15.3 MB / 1.014 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.001936/0.428, allocations: 1.186 MB / 1.313 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4283, allocations: 154.8 kB / 1.313 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.4285, allocations: 76.81 kB / 1.313 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.4297, allocations: 0.535 MB / 1.313 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.4298, allocations: 30.56 kB / 1.313 GB, free: 13.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.4298, allocations: 0 / 1.313 GB, free: 13.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006577/0.4305, allocations: 255.6 kB / 1.314 GB, free: 12.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4305, allocations: 55.41 kB / 1.314 GB, free: 12.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.4312, allocations: 0.569 MB / 1.314 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4312, allocations: 29.7 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.4315, allocations: 268.4 kB / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.4315, allocations: 59.48 kB / 1.315 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4317, allocations: 69.97 kB / 1.315 GB, free: 11.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.4318, allocations: 358.8 kB / 1.315 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.432, allocations: 81.88 kB / 1.315 GB, free: 11.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.4325, allocations: 442.1 kB / 1.316 GB, free: 10.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.4329, allocations: 238.7 kB / 1.316 GB, free: 10.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4329, allocations: 0 / 1.316 GB, free: 10.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005894/0.4335, allocations: 311.1 kB / 1.316 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4335, allocations: 8.094 kB / 1.316 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4336, allocations: 7.875 kB / 1.316 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4336, allocations: 4 kB / 1.316 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.4339, allocations: 67.89 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4339, allocations: 11.92 kB / 1.316 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.4342, allocations: 44.02 kB / 1.316 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4342, allocations: 23.98 kB / 1.316 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003316/0.4345, allocations: 212.6 kB / 1.316 GB, free: 9.969 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004334/0.435, allocations: 437.8 kB / 1.317 GB, free: 9.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003981/0.4354, allocations: 227.2 kB / 1.317 GB, free: 9.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4354, allocations: 4 kB / 1.317 GB, free: 9.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005756/0.436, allocations: 309.2 kB / 1.317 GB, free: 8.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.436, allocations: 8 kB / 1.317 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.436, allocations: 0 / 1.317 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.436, allocations: 7.938 kB / 1.317 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4362, allocations: 63.91 kB / 1.317 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4362, allocations: 4 kB / 1.317 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4365, allocations: 39.81 kB / 1.318 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.4366, allocations: 16 kB / 1.318 GB, free: 8.734 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.0001557/0.4367, allocations: 205.3 kB / 1.318 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.4368, allocations: 47.89 kB / 1.318 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.4374, allocations: 263.3 kB / 1.318 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4374, allocations: 11.97 kB / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4374, allocations: 0 / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4374, allocations: 0 / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4385, allocations: 0.6455 MB / 1.319 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4385, allocations: 0 / 1.319 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.4386, allocations: 27.98 kB / 1.319 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-06/0.4386, allocations: 4 kB / 1.319 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4387, allocations: 4 kB / 1.319 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-06/0.4387, allocations: 11.92 kB / 1.319 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4387, allocations: 0 / 1.319 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.4392, allocations: 354.7 kB / 1.319 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4394, allocations: 71.58 kB / 1.319 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4394, allocations: 4 kB / 1.319 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4396, allocations: 11.98 kB / 1.319 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4397, allocations: 19.91 kB / 1.319 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4397, allocations: 12 kB / 1.319 GB, free: 6.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004929/0.4402, allocations: 406.8 kB / 1.32 GB, free: 6.574 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4402, allocations: 0 / 1.32 GB, free: 6.574 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008581/0.441, allocations: 239.5 kB / 1.32 GB, free: 6.34 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.001701/0.4427, allocations: 0.504 MB / 1.32 GB, free: 5.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.4435, allocations: 313.4 kB / 1.321 GB, free: 5.676 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4435, allocations: 0 / 1.321 GB, free: 5.676 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4437, allocations: 89.08 kB / 1.321 GB, free: 5.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4447, allocations: 221.4 kB / 1.321 GB, free: 5.375 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4462, allocations: 0.8578 MB / 1.322 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4465, allocations: 242.2 kB / 1.322 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.4466, allocations: 43.42 kB / 1.322 GB, free: 4.168 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.4466, allocations: 0 / 1.322 GB, free: 4.168 MB / 1.014 GB Notification: Performance of Templates: time 0.0143/0.4609, allocations: 8.54 MB / 1.33 GB, free: 11.7 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 -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/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: 12.995155340060592]