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.001526/0.001526, allocations: 102.1 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.001742/0.001742, allocations: 220.1 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.83/2.83, allocations: 476.8 MB / 0.7714 GB, free: 4.227 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.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.002079/0.002079, allocations: 67.62 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01381/0.3961, allocations: 10.51 MB / 1.295 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.4027, allocations: 3.302 MB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009411/0.4036, allocations: 51.62 kB / 1.298 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.4054, allocations: 0.6219 MB / 1.299 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.4073, allocations: 0.7818 MB / 1.3 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.409, allocations: 0.7584 MB / 1.3 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.4128, allocations: 2.988 MB / 1.303 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.4149, allocations: 1.423 MB / 1.305 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.417, allocations: 1.289 MB / 1.306 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.4197, allocations: 1.702 MB / 1.307 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.4201, allocations: 236 kB / 1.308 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.4213, allocations: 0.511 MB / 1.308 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.4225, allocations: 1.099 MB / 1.309 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.424, allocations: 1.113 MB / 1.31 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.4283, allocations: 3.691 MB / 1.314 GB, free: 12.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4283, allocations: 0 / 1.314 GB, free: 12.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4283, allocations: 4 kB / 1.314 GB, free: 12.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.934e-05/0.4283, allocations: 0 / 1.314 GB, free: 12.96 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004632/0.433, allocations: 2.115 MB / 1.316 GB, free: 10.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.433, allocations: 12.03 kB / 1.316 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008457/0.4415, allocations: 1.326 MB / 1.317 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.4446, allocations: 1.262 MB / 1.319 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.4447, allocations: 119.3 kB / 1.319 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.4451, allocations: 144.3 kB / 1.319 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005935/0.451, allocations: 3.441 MB / 1.322 GB, free: 4.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.451, allocations: 4 kB / 1.322 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.4513, allocations: 63.97 kB / 1.322 GB, free: 4.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002802/0.4515, allocations: 207.1 kB / 1.322 GB, free: 4.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.4567, allocations: 3.131 MB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.4761, allocations: 13.45 MB / 1.339 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.4787, allocations: 1.624 MB / 1.34 GB, free: 1.012 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.4807, allocations: 1.323 MB / 1.342 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/0.4808, allocations: 16.94 kB / 1.342 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.4808, allocations: 43.56 kB / 1.342 GB, free: 15.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.4808, allocations: 0 / 1.342 GB, free: 15.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=183): time 0.1396/0.6204, allocations: 36.19 MB / 1.377 GB, free: 11.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.6205, allocations: 77.41 kB / 1.377 GB, free: 11.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.6222, allocations: 1.046 MB / 1.378 GB, free: 10.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003759/0.6226, allocations: 53.7 kB / 1.378 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/0.6232, allocations: 0.8093 MB / 1.379 GB, free: 9.344 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/0.6239, allocations: 0.6585 MB / 1.38 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007498/0.6247, allocations: 367.5 kB / 1.38 GB, free: 8.316 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6248, allocations: 305.1 kB / 1.38 GB, free: 8.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.6277, allocations: 1.928 MB / 1.382 GB, free: 6.086 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.6309, allocations: 2.285 MB / 1.384 GB, free: 3.676 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/0.6372, allocations: 4.388 MB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.6372, allocations: 4 kB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02072/0.6579, allocations: 8.876 MB / 1.397 GB, free: 6.254 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.658, allocations: 19.94 kB / 1.397 GB, free: 6.234 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.658, allocations: 8 kB / 1.397 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01675/0.6747, allocations: 4.981 MB / 1.402 GB, free: 1.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.6757, allocations: 191.6 kB / 1.402 GB, free: 1.043 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06095/0.7366, allocations: 38.54 MB / 1.44 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.739, allocations: 103.9 kB / 1.44 GB, free: 9.926 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.7392, allocations: 68 kB / 1.44 GB, free: 9.859 MB / 1.139 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.001664/0.7409, allocations: 0.8017 MB / 1.441 GB, free: 9.047 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.7412, allocations: 151.1 kB / 1.441 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02002/0.7613, allocations: 8.737 MB / 1.45 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.7613, allocations: 19.94 kB / 1.45 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.274e-05/0.7614, allocations: 28 kB / 1.45 GB, free: 76 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.7614, allocations: 15.95 kB / 1.45 GB, free: 60 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/0.7892, allocations: 13.24 MB / 1.463 GB, free: 2.676 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/0.7893, allocations: 4 kB / 1.463 GB, free: 2.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.7898, allocations: 123.8 kB / 1.463 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/0.8063, allocations: 4.84 MB / 1.467 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/0.8066, allocations: 39.98 kB / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05736/0.864, allocations: 36.45 MB / 1.503 GB, free: 8.723 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.864, allocations: 7.938 kB / 1.503 GB, free: 8.715 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/0.8836, allocations: 8.448 MB / 1.511 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/0.8856, allocations: 0.573 MB / 1.512 GB, free: 15.6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.8859, allocations: 43.92 kB / 1.512 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.8871, allocations: 87.89 kB / 1.512 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/0.888, allocations: 177.5 kB / 1.512 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.8881, allocations: 40 kB / 1.512 GB, free: 15.26 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001086/0.8892, allocations: 0.7382 MB / 1.513 GB, free: 14.51 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.8892, allocations: 0 / 1.513 GB, free: 14.51 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003248/0.8924, allocations: 1.008 MB / 1.514 GB, free: 13.5 MB / 1.217 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.0003263/0.8928, allocations: 147 kB / 1.514 GB, free: 13.35 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.903, allocations: 5.742 MB / 1.52 GB, free: 7.562 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.903, allocations: 192 / 1.52 GB, free: 7.562 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.008097/0.9111, allocations: 3.802 MB / 1.523 GB, free: 3.711 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.9127, allocations: 247.8 kB / 1.524 GB, free: 3.477 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.923, allocations: 5.466 MB / 1.529 GB, free: 13.95 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.9252, allocations: 1.898 MB / 1.531 GB, free: 12.02 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.9255, allocations: 63.44 kB / 1.531 GB, free: 11.95 MB / 1.232 GB Notification: Performance of SimCode: time 1.262e-06/0.9255, allocations: 0 / 1.531 GB, free: 11.95 MB / 1.232 GB Notification: Performance of Templates: time 0.08743/1.013, allocations: 69.48 MB / 1.599 GB, free: 6.43 MB / 1.295 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 -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: 16.567141863983124]