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.001369/0.001369, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00155/0.00155, allocations: 215.9 kB / 22.99 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.002967/0.002967, allocations: 70.92 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4882, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03864/0.5268, allocations: 25.58 MB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.5453, allocations: 8.099 MB / 1.359 GB, free: 44 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.5487, allocations: 150.9 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008658/0.5573, allocations: 2.78 MB / 1.362 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.5634, allocations: 1.668 MB / 1.364 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005874/0.5693, allocations: 1.682 MB / 1.365 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.5793, allocations: 6.131 MB / 1.371 GB, free: 3.598 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008064/0.5874, allocations: 3.738 MB / 1.375 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.5933, allocations: 2.68 MB / 1.378 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006295/0.5996, allocations: 2.819 MB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.6015, allocations: 0.5078 MB / 1.381 GB, free: 9.742 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.6058, allocations: 1.209 MB / 1.382 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004486/0.6102, allocations: 2.1 MB / 1.384 GB, free: 6.426 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006096/0.6163, allocations: 1.934 MB / 1.386 GB, free: 4.484 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.632, allocations: 8.114 MB / 1.394 GB, free: 12.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.632, allocations: 0 / 1.394 GB, free: 12.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.805e-06/0.632, allocations: 0 / 1.394 GB, free: 12.34 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003602/0.6324, allocations: 3.938 kB / 1.394 GB, free: 12.34 MB / 1.092 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.01614/0.6485, allocations: 4.26 MB / 1.398 GB, free: 8.027 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.6486, allocations: 12.03 kB / 1.398 GB, free: 8.016 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/0.6552, allocations: 0.8179 MB / 1.399 GB, free: 7.195 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009852/0.665, allocations: 2.53 MB / 1.401 GB, free: 4.602 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.6654, allocations: 271.6 kB / 1.402 GB, free: 4.336 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/0.6676, allocations: 380.6 kB / 1.402 GB, free: 3.965 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.6819, allocations: 6.444 MB / 1.408 GB, free: 13.15 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.682, allocations: 19.88 kB / 1.408 GB, free: 13.13 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.6825, allocations: 156 kB / 1.408 GB, free: 12.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006567/0.6831, allocations: 286.8 kB / 1.409 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009241/0.6924, allocations: 4.516 MB / 1.413 GB, free: 8.176 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.7193, allocations: 17.4 MB / 1.43 GB, free: 6.27 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.7211, allocations: 1.06 MB / 1.431 GB, free: 5.199 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.7225, allocations: 0.9532 MB / 1.432 GB, free: 4.246 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.7225, allocations: 13 kB / 1.432 GB, free: 4.234 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.7226, allocations: 43.56 kB / 1.432 GB, free: 4.184 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 4.018e-06/0.7226, allocations: 0 / 1.432 GB, free: 4.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02291/0.7455, allocations: 9.095 MB / 1.441 GB, free: 11.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.7456, allocations: 64.72 kB / 1.441 GB, free: 10.95 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.7478, allocations: 1.405 MB / 1.442 GB, free: 9.535 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.7479, allocations: 45.7 kB / 1.442 GB, free: 9.484 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.7494, allocations: 1.734 MB / 1.444 GB, free: 7.738 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005324/0.7499, allocations: 495.8 kB / 1.445 GB, free: 7.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005397/0.7505, allocations: 323.4 kB / 1.445 GB, free: 6.926 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7506, allocations: 309.1 kB / 1.445 GB, free: 6.621 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.7521, allocations: 0.9174 MB / 1.446 GB, free: 5.703 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.7541, allocations: 1.463 MB / 1.448 GB, free: 4.004 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.7578, allocations: 2.546 MB / 1.45 GB, free: 1.219 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.7578, allocations: 11.94 kB / 1.45 GB, free: 1.207 MB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006965/0.7647, allocations: 3.256 MB / 1.453 GB, free: 13.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.7648, allocations: 17.66 kB / 1.453 GB, free: 13.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.7648, allocations: 23.98 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.7672, allocations: 0.7376 MB / 1.454 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.7689, allocations: 383.4 kB / 1.454 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.7868, allocations: 15.82 MB / 1.47 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.7887, allocations: 103.9 kB / 1.47 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.7888, allocations: 76 kB / 1.47 GB, free: 11.82 MB / 1.17 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.002627/0.7915, allocations: 1.31 MB / 1.471 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/0.7919, allocations: 198.8 kB / 1.471 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.7974, allocations: 2.761 MB / 1.474 GB, free: 7.492 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.7974, allocations: 12 kB / 1.474 GB, free: 7.48 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.7974, allocations: 11.94 kB / 1.474 GB, free: 7.469 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.7975, allocations: 7.969 kB / 1.474 GB, free: 7.461 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.8087, allocations: 5.333 MB / 1.479 GB, free: 1.988 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8087, allocations: 4 kB / 1.479 GB, free: 1.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8099, allocations: 236.3 kB / 1.48 GB, free: 1.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.812, allocations: 0.6633 MB / 1.48 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.8121, allocations: 32 kB / 1.48 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.8292, allocations: 15.58 MB / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.8292, allocations: 7.984 kB / 1.495 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00701/0.8362, allocations: 3.985 MB / 1.499 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.8375, allocations: 374.7 kB / 1.5 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.8378, allocations: 35.94 kB / 1.5 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.8387, allocations: 87.89 kB / 1.5 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.8391, allocations: 116.7 kB / 1.5 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.8392, allocations: 40 kB / 1.5 GB, free: 11.79 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001392/0.8405, allocations: 0.9048 MB / 1.501 GB, free: 10.89 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.8405, allocations: 0 / 1.501 GB, free: 10.89 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0025/0.843, allocations: 0.6797 MB / 1.502 GB, free: 10.21 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.0003016/0.8433, allocations: 155 kB / 1.502 GB, free: 10.05 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005813/0.8492, allocations: 3.386 MB / 1.505 GB, free: 6.547 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8492, allocations: 0 / 1.505 GB, free: 6.547 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.8527, allocations: 2.233 MB / 1.507 GB, free: 4.199 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.8557, allocations: 0.644 MB / 1.508 GB, free: 3.574 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.8693, allocations: 7.133 MB / 1.515 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/0.8725, allocations: 2.167 MB / 1.517 GB, free: 10.13 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/0.8731, allocations: 119.4 kB / 1.517 GB, free: 10.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.573e-06/0.8731, allocations: 0 / 1.517 GB, free: 10.02 MB / 1.217 GB Notification: Performance of Templates: time 0.9892/1.862, allocations: 210.7 MB / 1.723 GB, free: 169.8 MB / 1.295 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: 22.52547313924879]