Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001316/0.001316, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001524/0.001524, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.789/2.789, allocations: 476.8 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [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.002067/0.002067, allocations: 66.77 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01891/0.3232, allocations: 15.93 MB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007186/0.3304, allocations: 4.501 MB / 1.305 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.331, allocations: 23.75 kB / 1.305 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000973/0.3319, allocations: 278.3 kB / 1.305 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.3338, allocations: 0.682 MB / 1.306 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3357, allocations: 0.7355 MB / 1.306 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3373, allocations: 1.056 MB / 1.307 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.3378, allocations: 280.4 kB / 1.308 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.3386, allocations: 450.3 kB / 1.308 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.3391, allocations: 342.5 kB / 1.308 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.3392, allocations: 28 kB / 1.308 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3404, allocations: 0.6551 MB / 1.309 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3405, allocations: 107.5 kB / 1.309 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.3408, allocations: 230.7 kB / 1.309 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.3419, allocations: 0.7744 MB / 1.31 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3419, allocations: 0 / 1.31 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3419, allocations: 7.938 kB / 1.31 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.342, allocations: 4 kB / 1.31 GB, free: 1.125 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001291/0.3433, allocations: 0.7762 MB / 1.311 GB, free: 320 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3433, allocations: 8.031 kB / 1.311 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3434, allocations: 60.56 kB / 1.311 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.3441, allocations: 374.8 kB / 1.311 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3441, allocations: 20.44 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.3442, allocations: 28 kB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.3446, allocations: 215.2 kB / 1.311 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3446, allocations: 0 / 1.311 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3447, allocations: 15.88 kB / 1.311 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3447, allocations: 4 kB / 1.312 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.3451, allocations: 161.6 kB / 1.312 GB, free: 15.41 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.001678/0.3467, allocations: 0.919 MB / 1.313 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.347, allocations: 134.5 kB / 1.313 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3472, allocations: 64.81 kB / 1.313 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.3473, allocations: 27.98 kB / 1.313 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3474, allocations: 34.56 kB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.3474, allocations: 0 / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0006527/0.348, allocations: 249.2 kB / 1.313 GB, free: 13.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3481, allocations: 55.41 kB / 1.313 GB, free: 13.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.3487, allocations: 486 kB / 1.314 GB, free: 13.35 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.3487, allocations: 33.7 kB / 1.314 GB, free: 13.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3489, allocations: 228.8 kB / 1.314 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.349, allocations: 47.59 kB / 1.314 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3491, allocations: 61.7 kB / 1.314 GB, free: 12.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3492, allocations: 354.7 kB / 1.314 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.3494, allocations: 72.81 kB / 1.314 GB, free: 12.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.3497, allocations: 163.5 kB / 1.314 GB, free: 12.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.3501, allocations: 153.2 kB / 1.315 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3501, allocations: 0 / 1.315 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005228/0.3506, allocations: 257 kB / 1.315 GB, free: 11.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3506, allocations: 4 kB / 1.315 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3506, allocations: 4 kB / 1.315 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3506, allocations: 4 kB / 1.315 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.3509, allocations: 51.91 kB / 1.315 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3509, allocations: 4 kB / 1.315 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.3512, allocations: 39.75 kB / 1.315 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3512, allocations: 8 kB / 1.315 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002957/0.3515, allocations: 188.1 kB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002688/0.3518, allocations: 168.2 kB / 1.315 GB, free: 11.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000359/0.3521, allocations: 177.3 kB / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.3521, allocations: 3.938 kB / 1.315 GB, free: 11.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005186/0.3527, allocations: 253.2 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3527, allocations: 8 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.3527, allocations: 0 / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.3527, allocations: 4 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3529, allocations: 51.97 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.3529, allocations: 0 / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3532, allocations: 36.05 kB / 1.316 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3532, allocations: 12 kB / 1.316 GB, free: 10.89 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001279/0.3534, allocations: 196.1 kB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.3534, allocations: 47.67 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.354, allocations: 249.3 kB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.354, allocations: 4 kB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.354, allocations: 0 / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.354, allocations: 0 / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3551, allocations: 0.6891 MB / 1.317 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3551, allocations: 0 / 1.317 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3552, allocations: 27.98 kB / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3553, allocations: 4 kB / 1.317 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3553, allocations: 4 kB / 1.317 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.3553, allocations: 7.875 kB / 1.317 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3553, allocations: 4 kB / 1.317 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.3558, allocations: 348.8 kB / 1.317 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3559, allocations: 63.62 kB / 1.317 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.356, allocations: 4 kB / 1.317 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3562, allocations: 27.86 kB / 1.317 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3562, allocations: 15.91 kB / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3563, allocations: 8 kB / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004068/0.3567, allocations: 338.9 kB / 1.318 GB, free: 8.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 0 / 1.318 GB, free: 8.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000677/0.3573, allocations: 203.6 kB / 1.318 GB, free: 8.582 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 (16): * Single equations (assignments): 14 * 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.001514/0.3589, allocations: 474.1 kB / 1.318 GB, free: 8.246 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000677/0.3595, allocations: 265.8 kB / 1.319 GB, free: 7.988 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3595, allocations: 4 kB / 1.319 GB, free: 7.984 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3597, allocations: 79.89 kB / 1.319 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.3607, allocations: 194.4 kB / 1.319 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.362, allocations: 0.7618 MB / 1.32 GB, free: 6.906 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3625, allocations: 0.827 MB / 1.321 GB, free: 6.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3626, allocations: 43.42 kB / 1.321 GB, free: 6.012 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.3626, allocations: 0 / 1.321 GB, free: 6.012 MB / 1.014 GB Notification: Performance of Templates: time 0.01193/0.3745, allocations: 7.477 MB / 1.328 GB, free: 14.61 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.12287363599171]