Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001681/0.001681, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.002097/0.002097, allocations: 211.9 kB / 22.99 MB, free: 4.965 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.417/3.417, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002137/0.002137, allocations: 70.36 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03463/0.4104, allocations: 25.58 MB / 1.39 GB, free: 3.914 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.4264, allocations: 8.087 MB / 1.398 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.4293, allocations: 154.8 kB / 1.398 GB, free: 11.65 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008196/0.4375, allocations: 2.778 MB / 1.4 GB, free: 8.867 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.443, allocations: 1.668 MB / 1.402 GB, free: 7.191 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005157/0.4481, allocations: 1.674 MB / 1.404 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00861/0.4567, allocations: 6.139 MB / 1.41 GB, free: 15.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/0.4641, allocations: 3.746 MB / 1.413 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.4694, allocations: 2.664 MB / 1.416 GB, free: 8.852 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005544/0.4749, allocations: 2.822 MB / 1.419 GB, free: 6.02 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.4765, allocations: 0.5156 MB / 1.419 GB, free: 5.504 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.4801, allocations: 1.201 MB / 1.42 GB, free: 4.301 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00356/0.4836, allocations: 2.104 MB / 1.422 GB, free: 2.191 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004994/0.4886, allocations: 1.934 MB / 1.424 GB, free: 256 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.5006, allocations: 8.111 MB / 1.432 GB, free: 8.113 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5006, allocations: 4 kB / 1.432 GB, free: 8.109 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5006, allocations: 0 / 1.432 GB, free: 8.109 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002969/0.5009, allocations: 0 / 1.432 GB, free: 8.109 MB / 1.123 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.01233/0.5132, allocations: 4.264 MB / 1.436 GB, free: 3.793 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5133, allocations: 8.031 kB / 1.436 GB, free: 3.785 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.5185, allocations: 0.818 MB / 1.437 GB, free: 2.965 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00724/0.5258, allocations: 2.534 MB / 1.44 GB, free: 376 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.5261, allocations: 275.6 kB / 1.44 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.5277, allocations: 376.6 kB / 1.44 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01551/0.5432, allocations: 6.44 MB / 1.447 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.5434, allocations: 15.88 kB / 1.447 GB, free: 8.91 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.5446, allocations: 160 kB / 1.447 GB, free: 8.754 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007226/0.5453, allocations: 278.9 kB / 1.447 GB, free: 8.48 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.556, allocations: 4.524 MB / 1.451 GB, free: 3.949 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.5892, allocations: 17.41 MB / 1.468 GB, free: 2.031 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.5911, allocations: 1.053 MB / 1.469 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5927, allocations: 0.9564 MB / 1.47 GB, free: 12 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.5928, allocations: 9 kB / 1.47 GB, free: 4 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.927e-05/0.5929, allocations: 47.56 kB / 1.47 GB, free: 15.95 MB / 1.17 GB Notification: Performance of pre-optimization done (n=110): time 5.109e-06/0.5929, allocations: 3.938 kB / 1.47 GB, free: 15.95 MB / 1.17 GB Notification: Performance of matching and sorting (n=131): time 0.02374/0.6166, allocations: 9.09 MB / 1.479 GB, free: 6.805 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.6167, allocations: 68.7 kB / 1.479 GB, free: 6.723 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.6191, allocations: 1.397 MB / 1.481 GB, free: 5.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.6193, allocations: 53.7 kB / 1.481 GB, free: 5.262 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.6207, allocations: 1.726 MB / 1.482 GB, free: 3.52 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005771/0.6213, allocations: 491.8 kB / 1.483 GB, free: 3.035 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/0.622, allocations: 343.4 kB / 1.483 GB, free: 2.691 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6221, allocations: 301.1 kB / 1.484 GB, free: 2.395 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.6236, allocations: 0.9135 MB / 1.484 GB, free: 1.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.6257, allocations: 1.459 MB / 1.486 GB, free: 15.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.6294, allocations: 2.554 MB / 1.488 GB, free: 12.99 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.218e-05/0.6295, allocations: 7.938 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006641/0.6361, allocations: 3.259 MB / 1.492 GB, free: 9.688 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.6362, allocations: 15.94 kB / 1.492 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.6362, allocations: 16 kB / 1.492 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.6386, allocations: 0.7339 MB / 1.492 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.6404, allocations: 387.4 kB / 1.493 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/0.6588, allocations: 15.82 MB / 1.508 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.6605, allocations: 99.91 kB / 1.508 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/0.6609, allocations: 76.12 kB / 1.508 GB, free: 7.602 MB / 1.201 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.002648/0.6635, allocations: 1.32 MB / 1.51 GB, free: 6.273 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005556/0.6641, allocations: 194.8 kB / 1.51 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/0.6699, allocations: 2.761 MB / 1.512 GB, free: 3.273 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.6699, allocations: 12 kB / 1.512 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/0.6699, allocations: 8 kB / 1.512 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.6699, allocations: 7.969 kB / 1.512 GB, free: 3.246 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.6818, allocations: 5.341 MB / 1.518 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.6818, allocations: 4.656 kB / 1.518 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.683, allocations: 235.7 kB / 1.518 GB, free: 13.53 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.6852, allocations: 0.6672 MB / 1.519 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.6854, allocations: 35.98 kB / 1.519 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.7028, allocations: 15.56 MB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.7029, allocations: 16 kB / 1.534 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.71, allocations: 3.981 MB / 1.538 GB, free: 8.207 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7112, allocations: 370.7 kB / 1.538 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.7116, allocations: 39.92 kB / 1.538 GB, free: 7.805 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7127, allocations: 87.89 kB / 1.538 GB, free: 7.719 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.7131, allocations: 116.7 kB / 1.538 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7132, allocations: 36 kB / 1.538 GB, free: 7.57 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001539/0.7147, allocations: 0.9048 MB / 1.539 GB, free: 6.672 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7147, allocations: 0 / 1.539 GB, free: 6.672 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002564/0.7173, allocations: 0.6874 MB / 1.54 GB, free: 5.984 MB / 1.232 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.0003105/0.7176, allocations: 147 kB / 1.54 GB, free: 5.832 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005904/0.7235, allocations: 3.385 MB / 1.543 GB, free: 2.328 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.7235, allocations: 0 / 1.543 GB, free: 2.328 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.7271, allocations: 2.241 MB / 1.546 GB, free: 15.97 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.7303, allocations: 0.6371 MB / 1.546 GB, free: 15.35 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.7448, allocations: 7.148 MB / 1.553 GB, free: 8.105 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003739/0.7486, allocations: 2.159 MB / 1.555 GB, free: 5.906 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.7492, allocations: 135.4 kB / 1.555 GB, free: 5.773 MB / 1.248 GB Notification: Performance of SimCode: time 1.603e-06/0.7492, allocations: 0 / 1.555 GB, free: 5.773 MB / 1.248 GB Notification: Performance of Templates: time 0.9058/1.655, allocations: 210.7 MB / 1.761 GB, free: 103.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.013867613393813]