Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001954/0.001954, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002572/0.002572, allocations: 204 kB / 20.09 MB, free: 2.977 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.058/3.058, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.002068/0.002068, allocations: 71.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03469/1.15, allocations: 27.1 MB / 1.348 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01586/1.166, allocations: 8.222 MB / 1.356 GB, free: 1.098 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/1.171, allocations: 150 kB / 1.357 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008491/1.179, allocations: 2.806 MB / 1.359 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007432/1.187, allocations: 1.667 MB / 1.361 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006868/1.193, allocations: 1.676 MB / 1.363 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01219/1.206, allocations: 6.129 MB / 1.369 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009847/1.215, allocations: 5.324 MB / 1.374 GB, free: 8.488 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007607/1.223, allocations: 2.649 MB / 1.376 GB, free: 7.285 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008336/1.231, allocations: 3.001 MB / 1.379 GB, free: 6.035 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002689/1.234, allocations: 0.5122 MB / 1.38 GB, free: 6.031 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006004/1.24, allocations: 1.304 MB / 1.381 GB, free: 5.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.005591/1.246, allocations: 2.099 MB / 1.383 GB, free: 4.836 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009501/1.255, allocations: 2.384 MB / 1.385 GB, free: 3.305 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01895/1.274, allocations: 8.074 MB / 1.393 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.274, allocations: 2.031 kB / 1.393 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.394e-06/1.274, allocations: 0 / 1.393 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003955/1.275, allocations: 0 / 1.393 GB, free: 0.7266 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01986/1.294, allocations: 4.337 MB / 1.398 GB, free: 14.2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.295, allocations: 12.89 kB / 1.398 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006903/1.301, allocations: 0.8239 MB / 1.398 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008385/1.31, allocations: 2.583 MB / 1.401 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/1.31, allocations: 273.8 kB / 1.401 GB, free: 12.52 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/1.313, allocations: 379 kB / 1.402 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/1.332, allocations: 5.995 MB / 1.407 GB, free: 8.684 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000361/1.333, allocations: 23.94 kB / 1.407 GB, free: 8.668 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/1.335, allocations: 158.7 kB / 1.408 GB, free: 8.551 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008948/1.336, allocations: 280 kB / 1.408 GB, free: 8.48 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/1.349, allocations: 4.523 MB / 1.412 GB, free: 6.152 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/1.397, allocations: 27.51 MB / 1.439 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/1.399, allocations: 1.053 MB / 1.44 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/1.401, allocations: 0.9652 MB / 1.441 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/1.401, allocations: 12.62 kB / 1.441 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/1.401, allocations: 45 kB / 1.441 GB, free: 11.45 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/1.401, allocations: 0 / 1.441 GB, free: 11.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02664/1.428, allocations: 9.702 MB / 1.451 GB, free: 2.793 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.428, allocations: 68.72 kB / 1.451 GB, free: 2.715 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.431, allocations: 1.502 MB / 1.452 GB, free: 1.215 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/1.431, allocations: 49.7 kB / 1.452 GB, free: 1.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.433, allocations: 1.711 MB / 1.454 GB, free: 15.43 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/1.433, allocations: 495.7 kB / 1.454 GB, free: 14.94 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007582/1.434, allocations: 327.4 kB / 1.455 GB, free: 14.61 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.434, allocations: 309.1 kB / 1.455 GB, free: 14.31 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/1.436, allocations: 0.9135 MB / 1.456 GB, free: 13.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/1.438, allocations: 1.459 MB / 1.457 GB, free: 11.69 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/1.442, allocations: 2.55 MB / 1.46 GB, free: 8.898 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.442, allocations: 4 kB / 1.46 GB, free: 8.895 MB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007663/1.449, allocations: 3.279 MB / 1.463 GB, free: 5.578 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/1.449, allocations: 12 kB / 1.463 GB, free: 5.566 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-05/1.449, allocations: 19.98 kB / 1.463 GB, free: 5.547 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.452, allocations: 0.7413 MB / 1.464 GB, free: 4.777 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/1.454, allocations: 387.4 kB / 1.464 GB, free: 4.398 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/1.474, allocations: 17.05 MB / 1.481 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.476, allocations: 95.91 kB / 1.481 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.476, allocations: 72 kB / 1.481 GB, free: 1.91 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002817/1.479, allocations: 1.309 MB / 1.482 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/1.479, allocations: 206.7 kB / 1.482 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/1.485, allocations: 2.772 MB / 1.485 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.485, allocations: 12 kB / 1.485 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.485, allocations: 12 kB / 1.485 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.485, allocations: 7.969 kB / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.5, allocations: 6.197 MB / 1.491 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.5, allocations: 4 kB / 1.491 GB, free: 7.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.502, allocations: 235.6 kB / 1.491 GB, free: 6.949 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.504, allocations: 0.6677 MB / 1.492 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.504, allocations: 35.98 kB / 1.492 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/1.522, allocations: 16.79 MB / 1.508 GB, free: 4.168 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.522, allocations: 8 kB / 1.508 GB, free: 4.16 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/1.529, allocations: 4.005 MB / 1.512 GB, free: 44 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.53, allocations: 463.7 kB / 1.513 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.531, allocations: 35.94 kB / 1.513 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/1.532, allocations: 79.89 kB / 1.513 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/1.532, allocations: 116.7 kB / 1.513 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/1.532, allocations: 36 kB / 1.513 GB, free: 15.31 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001601/1.534, allocations: 0.9981 MB / 1.514 GB, free: 14.32 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.534, allocations: 0 / 1.514 GB, free: 14.32 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002818/1.537, allocations: 0.6836 MB / 1.515 GB, free: 13.64 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/1.537, allocations: 159 kB / 1.515 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006004/1.543, allocations: 3.389 MB / 1.518 GB, free: 9.969 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.543, allocations: 7.938 kB / 1.518 GB, free: 9.961 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/1.547, allocations: 2.229 MB / 1.52 GB, free: 7.613 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.55, allocations: 0.6785 MB / 1.521 GB, free: 6.953 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.564, allocations: 7.059 MB / 1.528 GB, free: 15.79 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/1.568, allocations: 2.722 MB / 1.531 GB, free: 13.04 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/1.569, allocations: 131.4 kB / 1.531 GB, free: 12.91 MB / 1.217 GB Notification: Performance of SimCode: time 1.994e-06/1.569, allocations: 4 kB / 1.531 GB, free: 12.91 MB / 1.217 GB Notification: Performance of Templates: time 0.2531/1.822, allocations: 210 MB / 1.736 GB, free: 10.8 MB / 1.42 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 23.54193571099313]