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.001685/0.001685, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001865/0.001865, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.705/1.705, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.832/2.832, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.003064/0.003064, allocations: 67.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3853, allocations: 169.9 MB / 1.117 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02104/0.4063, allocations: 14.54 MB / 1.132 GB, free: 3.926 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7769/1.183, allocations: 4.156 MB / 1.136 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009495/1.184, allocations: 26.53 kB / 1.136 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/1.185, allocations: 260.9 kB / 1.136 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/1.187, allocations: 0.6804 MB / 1.137 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/1.189, allocations: 0.7186 MB / 1.137 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00113/1.19, allocations: 1.052 MB / 1.138 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/1.191, allocations: 280.3 kB / 1.139 GB, free: 43.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006421/1.191, allocations: 458.8 kB / 1.139 GB, free: 43.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/1.192, allocations: 323.2 kB / 1.139 GB, free: 43.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/1.192, allocations: 28.38 kB / 1.139 GB, free: 43.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/1.193, allocations: 0.5312 MB / 1.14 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.193, allocations: 106.8 kB / 1.14 GB, free: 43.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/1.193, allocations: 190.2 kB / 1.14 GB, free: 43.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008837/1.194, allocations: 0.7632 MB / 1.141 GB, free: 42.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.194, allocations: 0 / 1.141 GB, free: 42.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.803e-06/1.194, allocations: 0 / 1.141 GB, free: 42.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.455e-05/1.194, allocations: 3.062 kB / 1.141 GB, free: 42.98 MB / 1.076 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.001153/1.195, allocations: 0.7812 MB / 1.142 GB, free: 42.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.195, allocations: 12.97 kB / 1.142 GB, free: 42.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/1.195, allocations: 61.78 kB / 1.142 GB, free: 42.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/1.196, allocations: 372 kB / 1.142 GB, free: 42.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.196, allocations: 22.56 kB / 1.142 GB, free: 42.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/1.196, allocations: 36.16 kB / 1.142 GB, free: 42.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/1.196, allocations: 217.3 kB / 1.142 GB, free: 42.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/1.196, allocations: 0 / 1.142 GB, free: 42.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/1.196, allocations: 11.34 kB / 1.142 GB, free: 42.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/1.196, allocations: 5.656 kB / 1.142 GB, free: 42.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/1.197, allocations: 164 kB / 1.143 GB, free: 42.2 MB / 1.076 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.001367/1.198, allocations: 0.6979 MB / 1.143 GB, free: 41.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/1.198, allocations: 124.3 kB / 1.143 GB, free: 41.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/1.199, allocations: 68.06 kB / 1.143 GB, free: 41.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/1.199, allocations: 37.84 kB / 1.143 GB, free: 41.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/1.199, allocations: 30.56 kB / 1.144 GB, free: 41.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/1.199, allocations: 0 / 1.144 GB, free: 41.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0005949/1.199, allocations: 244.5 kB / 1.144 GB, free: 41.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.199, allocations: 54.31 kB / 1.144 GB, free: 41.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/1.2, allocations: 452.5 kB / 1.144 GB, free: 41.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/1.2, allocations: 32.23 kB / 1.144 GB, free: 41.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.2, allocations: 235.4 kB / 1.144 GB, free: 41.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/1.2, allocations: 54.44 kB / 1.145 GB, free: 41.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/1.2, allocations: 56.22 kB / 1.145 GB, free: 41.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/1.2, allocations: 350.4 kB / 1.145 GB, free: 41.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/1.2, allocations: 71.55 kB / 1.145 GB, free: 41.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/1.201, allocations: 409 kB / 1.145 GB, free: 40.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/1.201, allocations: 170.4 kB / 1.146 GB, free: 40.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.201, allocations: 0 / 1.146 GB, free: 40.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004732/1.201, allocations: 253.6 kB / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.201, allocations: 6.312 kB / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.201, allocations: 8.125 kB / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.201, allocations: 0 / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.202, allocations: 49.38 kB / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.202, allocations: 0 / 1.146 GB, free: 40.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.202, allocations: 38.44 kB / 1.146 GB, free: 40.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/1.202, allocations: 9.094 kB / 1.146 GB, free: 40.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002383/1.202, allocations: 189.3 kB / 1.146 GB, free: 40.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002617/1.202, allocations: 419.7 kB / 1.146 GB, free: 40.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002943/1.203, allocations: 174.3 kB / 1.147 GB, free: 40.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/1.203, allocations: 0 / 1.147 GB, free: 40.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004344/1.203, allocations: 252.2 kB / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/1.203, allocations: 10.16 kB / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.203, allocations: 2.969 kB / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/1.203, allocations: 0 / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/1.203, allocations: 51.28 kB / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/1.203, allocations: 64 / 1.147 GB, free: 40.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/1.204, allocations: 41.31 kB / 1.147 GB, free: 40.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.204, allocations: 12.2 kB / 1.147 GB, free: 40.05 MB / 1.076 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 8.203e-05/1.204, allocations: 188.8 kB / 1.147 GB, free: 39.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/1.204, allocations: 47.97 kB / 1.147 GB, free: 39.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/1.204, allocations: 248.1 kB / 1.147 GB, free: 39.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/1.204, allocations: 7.281 kB / 1.147 GB, free: 39.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.204, allocations: 2.906 kB / 1.147 GB, free: 39.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.204, allocations: 0 / 1.147 GB, free: 39.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/1.205, allocations: 0.6236 MB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.205, allocations: 2.906 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.205, allocations: 35.27 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.205, allocations: 6.938 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/1.205, allocations: 2.812 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.205, allocations: 2.812 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.205, allocations: 2.906 kB / 1.148 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/1.206, allocations: 348.1 kB / 1.148 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/1.206, allocations: 60.56 kB / 1.149 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.206, allocations: 8.625 kB / 1.149 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.206, allocations: 14.31 kB / 1.149 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/1.206, allocations: 22.66 kB / 1.149 GB, free: 39.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/1.206, allocations: 5.719 kB / 1.149 GB, free: 39.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002959/1.206, allocations: 313.4 kB / 1.149 GB, free: 39.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.206, allocations: 0 / 1.149 GB, free: 39.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007055/1.207, allocations: 212.3 kB / 1.149 GB, free: 39.17 MB / 1.076 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.001705/1.209, allocations: 491.9 kB / 1.15 GB, free: 39.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006085/1.209, allocations: 258.2 kB / 1.15 GB, free: 39.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.209, allocations: 1.875 kB / 1.15 GB, free: 39.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.21, allocations: 78.84 kB / 1.15 GB, free: 39.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/1.211, allocations: 179.7 kB / 1.15 GB, free: 39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/1.212, allocations: 0.7263 MB / 1.151 GB, free: 38.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/1.212, allocations: 232.4 kB / 1.151 GB, free: 38.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002295/1.212, allocations: 90.77 kB / 1.151 GB, free: 38.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/1.212, allocations: 35.36 kB / 1.151 GB, free: 38.52 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.212, allocations: 0 / 1.151 GB, free: 38.52 MB / 1.076 GB Notification: Performance of Templates: time 0.01418/1.226, allocations: 8.351 MB / 1.159 GB, free: 37.54 MB / 1.076 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 -s ida -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: 10.00136219104752]