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.001357/0.001357, allocations: 110 kB / 19.7 MB, free: 2.25 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.001682/0.001682, allocations: 218 kB / 23.01 MB, free: 5.086 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.803/2.803, allocations: 476.8 MB / 0.7714 GB, free: 4.293 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.002023/0.002023, allocations: 66.48 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02379/0.3736, allocations: 17.91 MB / 1.302 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.3835, allocations: 5.097 MB / 1.307 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.3845, allocations: 23.81 kB / 1.307 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.3858, allocations: 266.3 kB / 1.307 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.3883, allocations: 0.6842 MB / 1.308 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.3908, allocations: 0.7637 MB / 1.309 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.3926, allocations: 0.9936 MB / 1.31 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.3931, allocations: 286.1 kB / 1.31 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.394, allocations: 442.3 kB / 1.31 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.3946, allocations: 338.5 kB / 1.311 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3946, allocations: 28 kB / 1.311 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.3963, allocations: 0.7525 MB / 1.312 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3965, allocations: 139.5 kB / 1.312 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.3968, allocations: 250.5 kB / 1.312 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.3984, allocations: 0.8873 MB / 1.313 GB, free: 14.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3984, allocations: 0 / 1.313 GB, free: 14.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3984, allocations: 0 / 1.313 GB, free: 14.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.3985, allocations: 4 kB / 1.313 GB, free: 14.3 MB / 1.014 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.0015/0.4, allocations: 0.84 MB / 1.314 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4, allocations: 8.031 kB / 1.314 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4002, allocations: 64.56 kB / 1.314 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.401, allocations: 406.9 kB / 1.314 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.401, allocations: 24.44 kB / 1.314 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.4011, allocations: 28 kB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.4016, allocations: 281.3 kB / 1.314 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4016, allocations: 4 kB / 1.314 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.4017, allocations: 11.94 kB / 1.314 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4017, allocations: 8 kB / 1.314 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.4021, allocations: 189.8 kB / 1.315 GB, free: 12.38 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.00212/0.4043, allocations: 1.441 MB / 1.316 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.4046, allocations: 154.8 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4048, allocations: 84.78 kB / 1.316 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.4061, allocations: 0.5702 MB / 1.317 GB, free: 10 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.623e-05/0.4062, allocations: 42.44 kB / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.4062, allocations: 0 / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006741/0.4069, allocations: 263.8 kB / 1.317 GB, free: 9.691 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4069, allocations: 51.41 kB / 1.317 GB, free: 9.629 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.4077, allocations: 0.5926 MB / 1.318 GB, free: 9.027 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4077, allocations: 33.7 kB / 1.318 GB, free: 8.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.408, allocations: 268.5 kB / 1.318 GB, free: 8.723 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.4081, allocations: 63.47 kB / 1.318 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.4082, allocations: 73.92 kB / 1.318 GB, free: 8.578 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.4084, allocations: 362.8 kB / 1.318 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.4086, allocations: 77.94 kB / 1.319 GB, free: 8.137 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.409, allocations: 210.8 kB / 1.319 GB, free: 7.883 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.4094, allocations: 227.6 kB / 1.319 GB, free: 7.629 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4094, allocations: 0 / 1.319 GB, free: 7.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006264/0.41, allocations: 313 kB / 1.319 GB, free: 7.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4101, allocations: 11.94 kB / 1.319 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4101, allocations: 4 kB / 1.319 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4101, allocations: 4 kB / 1.319 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.4103, allocations: 67.89 kB / 1.319 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4104, allocations: 4 kB / 1.319 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4107, allocations: 51.97 kB / 1.319 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.4107, allocations: 19.92 kB / 1.319 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003429/0.4111, allocations: 216.6 kB / 1.32 GB, free: 6.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003077/0.4114, allocations: 210.4 kB / 1.32 GB, free: 6.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004153/0.4118, allocations: 231.5 kB / 1.32 GB, free: 6.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.4118, allocations: 0 / 1.32 GB, free: 6.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006044/0.4124, allocations: 317.1 kB / 1.32 GB, free: 6.113 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.4124, allocations: 4 kB / 1.32 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4124, allocations: 7.938 kB / 1.32 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.4124, allocations: 4 kB / 1.32 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.4127, allocations: 63.91 kB / 1.32 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4127, allocations: 4 kB / 1.32 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.413, allocations: 40.11 kB / 1.32 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.4131, allocations: 16 kB / 1.32 GB, free: 5.977 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.0001629/0.4132, allocations: 192.2 kB / 1.321 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.4133, allocations: 55.61 kB / 1.321 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.4139, allocations: 267.1 kB / 1.321 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.4139, allocations: 4 kB / 1.321 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4139, allocations: 0 / 1.321 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.414, allocations: 3.984 kB / 1.321 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4151, allocations: 0.7115 MB / 1.322 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4151, allocations: 4.125 kB / 1.322 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4153, allocations: 35.86 kB / 1.322 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4153, allocations: 4 kB / 1.322 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4153, allocations: 8 kB / 1.322 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4153, allocations: 3.984 kB / 1.322 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4153, allocations: 0 / 1.322 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.4159, allocations: 358.6 kB / 1.322 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.416, allocations: 71.58 kB / 1.322 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.4161, allocations: 7.984 kB / 1.322 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.4163, allocations: 16 kB / 1.322 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4163, allocations: 19.91 kB / 1.322 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4163, allocations: 8 kB / 1.322 GB, free: 4.121 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005295/0.4169, allocations: 430.8 kB / 1.323 GB, free: 3.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4169, allocations: 0 / 1.323 GB, free: 3.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008094/0.4177, allocations: 231.6 kB / 1.323 GB, free: 3.477 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.001655/0.4193, allocations: 490.9 kB / 1.323 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008194/0.4202, allocations: 306.7 kB / 1.324 GB, free: 2.824 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4202, allocations: 0 / 1.324 GB, free: 2.824 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.4204, allocations: 91.83 kB / 1.324 GB, free: 2.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4216, allocations: 245.6 kB / 1.324 GB, free: 2.496 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4233, allocations: 0.8656 MB / 1.325 GB, free: 1.582 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.4238, allocations: 0.8545 MB / 1.326 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4239, allocations: 47.38 kB / 1.326 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/0.4239, allocations: 0 / 1.326 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Templates: time 0.01496/0.4389, allocations: 8.671 MB / 1.334 GB, free: 8.062 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: 13.410934557992732]