Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001878/0.001878, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002567/0.002567, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.563/1.563, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.773/2.773, allocations: 359.1 MB / 0.6044 GB, free: 14.89 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [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.002154/0.002154, allocations: 71.83 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4052, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01376/0.4189, allocations: 9.624 MB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006474/0.4254, allocations: 3.17 MB / 1.13 GB, free: 5.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.426, allocations: 47.62 kB / 1.13 GB, free: 5.684 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4277, allocations: 0.6051 MB / 1.131 GB, free: 5.078 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.4294, allocations: 0.7701 MB / 1.131 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.431, allocations: 0.7563 MB / 1.132 GB, free: 3.547 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.4347, allocations: 2.992 MB / 1.135 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8377/1.272, allocations: 1.408 MB / 1.136 GB, free: 45.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/1.274, allocations: 1.287 MB / 1.138 GB, free: 45.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/1.277, allocations: 1.641 MB / 1.139 GB, free: 45.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/1.277, allocations: 237.8 kB / 1.139 GB, free: 45.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/1.278, allocations: 474.9 kB / 1.14 GB, free: 45.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009943/1.279, allocations: 1.107 MB / 1.141 GB, free: 45.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.28, allocations: 0.9122 MB / 1.142 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/1.284, allocations: 3.715 MB / 1.146 GB, free: 44.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.284, allocations: 2.625 kB / 1.146 GB, free: 44.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.375e-06/1.284, allocations: 0 / 1.146 GB, free: 44.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.845e-05/1.284, allocations: 0.6875 kB / 1.146 GB, free: 44.95 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004219/1.288, allocations: 2.119 MB / 1.148 GB, free: 44.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.288, allocations: 8.188 kB / 1.148 GB, free: 44.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009028/1.297, allocations: 1.361 MB / 1.149 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/1.301, allocations: 1.266 MB / 1.15 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/1.301, allocations: 112.9 kB / 1.15 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/1.301, allocations: 153 kB / 1.15 GB, free: 43.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005959/1.307, allocations: 3.512 MB / 1.154 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/1.307, allocations: 7.406 kB / 1.154 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/1.307, allocations: 64.72 kB / 1.154 GB, free: 42.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/1.308, allocations: 203.6 kB / 1.154 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/1.312, allocations: 3.117 MB / 1.157 GB, free: 41.72 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/1.328, allocations: 9.834 MB / 1.167 GB, free: 36.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/1.33, allocations: 1.617 MB / 1.168 GB, free: 36.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/1.332, allocations: 1.325 MB / 1.17 GB, free: 35.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/1.332, allocations: 12.12 kB / 1.17 GB, free: 35.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.332, allocations: 45.16 kB / 1.17 GB, free: 35.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.486e-06/1.332, allocations: 0 / 1.17 GB, free: 35.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1675/1.5, allocations: 36.18 MB / 1.205 GB, free: 30.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/1.5, allocations: 70.84 kB / 1.205 GB, free: 30.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/1.502, allocations: 1.045 MB / 1.206 GB, free: 29.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005226/1.503, allocations: 55.45 kB / 1.206 GB, free: 29.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/1.504, allocations: 0.8035 MB / 1.207 GB, free: 29.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.505, allocations: 0.6535 MB / 1.208 GB, free: 28.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.506, allocations: 365.2 kB / 1.208 GB, free: 28.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/1.506, allocations: 305.8 kB / 1.208 GB, free: 28.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/1.51, allocations: 1.932 MB / 1.21 GB, free: 27.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/1.514, allocations: 2.29 MB / 1.212 GB, free: 26.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/1.521, allocations: 4.388 MB / 1.217 GB, free: 24.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/1.522, allocations: 2.781 kB / 1.217 GB, free: 24.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02483/1.546, allocations: 8.877 MB / 1.225 GB, free: 20.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/1.546, allocations: 8.719 kB / 1.225 GB, free: 20.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/1.546, allocations: 9.438 kB / 1.225 GB, free: 20.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01908/1.565, allocations: 4.972 MB / 1.23 GB, free: 17.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.567, allocations: 193.4 kB / 1.23 GB, free: 17.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06326/1.63, allocations: 37.81 MB / 1.267 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/1.633, allocations: 107.9 kB / 1.267 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/1.634, allocations: 61.8 kB / 1.267 GB, free: 14.42 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002424/1.636, allocations: 0.8043 MB / 1.268 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007303/1.637, allocations: 143.1 kB / 1.268 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/1.66, allocations: 8.739 MB / 1.277 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.66, allocations: 23.94 kB / 1.277 GB, free: 4.691 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/1.66, allocations: 28 kB / 1.277 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/1.66, allocations: 11.95 kB / 1.277 GB, free: 4.652 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03144/1.692, allocations: 12.39 MB / 1.289 GB, free: 8.184 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.692, allocations: 4 kB / 1.289 GB, free: 8.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/1.692, allocations: 115.9 kB / 1.289 GB, free: 8.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/1.71, allocations: 4.822 MB / 1.294 GB, free: 3.23 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/1.711, allocations: 35.98 kB / 1.294 GB, free: 3.195 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0665/1.777, allocations: 35.77 MB / 1.329 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/1.777, allocations: 11.88 kB / 1.329 GB, free: 15.03 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.8, allocations: 8.448 MB / 1.337 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.802, allocations: 0.5783 MB / 1.338 GB, free: 5.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006679/1.803, allocations: 36 kB / 1.338 GB, free: 5.875 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.804, allocations: 99.81 kB / 1.338 GB, free: 5.777 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/1.805, allocations: 169.5 kB / 1.338 GB, free: 5.609 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.806, allocations: 48 kB / 1.338 GB, free: 5.562 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001404/1.807, allocations: 0.7179 MB / 1.339 GB, free: 4.832 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.807, allocations: 0 / 1.339 GB, free: 4.832 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004803/1.812, allocations: 1.004 MB / 1.34 GB, free: 3.828 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004647/1.812, allocations: 155 kB / 1.34 GB, free: 3.668 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.824, allocations: 5.741 MB / 1.345 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.824, allocations: 8.188 kB / 1.345 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009038/1.833, allocations: 3.771 MB / 1.349 GB, free: 10.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.835, allocations: 233.3 kB / 1.349 GB, free: 9.852 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.846, allocations: 5.194 MB / 1.354 GB, free: 4.609 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.849, allocations: 1.271 MB / 1.356 GB, free: 3.297 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001069/1.85, allocations: 343.2 kB / 1.356 GB, free: 2.957 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.85, allocations: 68.42 kB / 1.356 GB, free: 2.891 MB / 1.186 GB Notification: Performance of SimCode: time 1.733e-06/1.85, allocations: 0 / 1.356 GB, free: 2.891 MB / 1.186 GB Notification: Performance of Templates: time 0.1018/1.952, allocations: 63.95 MB / 1.419 GB, free: 2.883 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 11.242547643953003]