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.001896/0.001896, allocations: 77.86 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.002368/0.002368, allocations: 158.8 kB / 23.01 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.938/2.938, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.002287/0.002287, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9719/0.9742, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02615/1, allocations: 25.58 MB / 1.212 GB, free: 300 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01591/1.016, allocations: 8.089 MB / 1.22 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/1.02, allocations: 154.5 kB / 1.22 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008291/1.028, allocations: 2.772 MB / 1.222 GB, free: 9.305 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/1.034, allocations: 1.672 MB / 1.224 GB, free: 8.27 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00558/1.039, allocations: 1.684 MB / 1.226 GB, free: 7.324 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00941/1.049, allocations: 6.135 MB / 1.232 GB, free: 4.52 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006291/1.055, allocations: 3.745 MB / 1.235 GB, free: 2.648 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/1.061, allocations: 2.669 MB / 1.238 GB, free: 1.441 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006517/1.068, allocations: 2.823 MB / 1.241 GB, free: 376 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/1.069, allocations: 0.5078 MB / 1.241 GB, free: 376 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/1.074, allocations: 1.202 MB / 1.242 GB, free: 112 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003762/1.077, allocations: 2.098 MB / 1.244 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005282/1.083, allocations: 1.928 MB / 1.246 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01294/1.096, allocations: 8.12 MB / 1.254 GB, free: 7.945 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.096, allocations: 0 / 1.254 GB, free: 7.945 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.004e-06/1.096, allocations: 0 / 1.254 GB, free: 7.945 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002773/1.096, allocations: 3.938 kB / 1.254 GB, free: 7.941 MB / 1.107 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.01206/1.108, allocations: 4.27 MB / 1.258 GB, free: 5.055 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.108, allocations: 9.406 kB / 1.258 GB, free: 5.055 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/1.113, allocations: 0.8207 MB / 1.259 GB, free: 4.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/1.119, allocations: 2.537 MB / 1.262 GB, free: 3.023 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/1.119, allocations: 270 kB / 1.262 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/1.12, allocations: 377.8 kB / 1.262 GB, free: 2.77 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/1.139, allocations: 6.446 MB / 1.269 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/1.139, allocations: 19.12 kB / 1.269 GB, free: 14.47 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000523/1.14, allocations: 158.7 kB / 1.269 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007071/1.141, allocations: 285 kB / 1.269 GB, free: 14.28 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/1.151, allocations: 4.516 MB / 1.273 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03026/1.181, allocations: 17.41 MB / 1.29 GB, free: 10.85 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.183, allocations: 1.061 MB / 1.291 GB, free: 9.781 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.184, allocations: 0.9563 MB / 1.292 GB, free: 8.824 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.161e-05/1.184, allocations: 17 kB / 1.292 GB, free: 8.805 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.184, allocations: 43.56 kB / 1.292 GB, free: 8.754 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.367e-06/1.184, allocations: 0 / 1.292 GB, free: 8.754 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02411/1.208, allocations: 9.093 MB / 1.301 GB, free: 15.6 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.209, allocations: 64.72 kB / 1.301 GB, free: 15.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/1.211, allocations: 1.397 MB / 1.303 GB, free: 14.12 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/1.211, allocations: 45.7 kB / 1.303 GB, free: 14.07 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.212, allocations: 1.73 MB / 1.304 GB, free: 12.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/1.213, allocations: 487.8 kB / 1.305 GB, free: 11.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006112/1.213, allocations: 335.4 kB / 1.305 GB, free: 11.51 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.214, allocations: 305.1 kB / 1.306 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.215, allocations: 0.9174 MB / 1.306 GB, free: 10.29 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/1.217, allocations: 1.459 MB / 1.308 GB, free: 8.594 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.221, allocations: 2.55 MB / 1.31 GB, free: 5.805 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/1.221, allocations: 11.94 kB / 1.31 GB, free: 5.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00661/1.227, allocations: 3.252 MB / 1.314 GB, free: 2.504 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.228, allocations: 28.12 kB / 1.314 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/1.228, allocations: 16 kB / 1.314 GB, free: 2.461 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/1.23, allocations: 0.7412 MB / 1.314 GB, free: 1.691 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.232, allocations: 383.4 kB / 1.315 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/1.25, allocations: 15.81 MB / 1.33 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.253, allocations: 99.91 kB / 1.33 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/1.253, allocations: 79.98 kB / 1.33 GB, free: 416 kB / 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.003835/1.257, allocations: 1.309 MB / 1.332 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/1.257, allocations: 199 kB / 1.332 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/1.263, allocations: 2.761 MB / 1.334 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.263, allocations: 16.14 kB / 1.334 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/1.263, allocations: 8 kB / 1.334 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.263, allocations: 15.89 kB / 1.334 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.275, allocations: 5.337 MB / 1.34 GB, free: 6.566 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.275, allocations: 4 kB / 1.34 GB, free: 6.562 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.276, allocations: 227.7 kB / 1.34 GB, free: 6.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/1.278, allocations: 0.6677 MB / 1.341 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.279, allocations: 28 kB / 1.341 GB, free: 5.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/1.297, allocations: 15.58 MB / 1.356 GB, free: 5.109 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.297, allocations: 4 kB / 1.356 GB, free: 5.105 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00802/1.305, allocations: 3.981 MB / 1.36 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.306, allocations: 370.7 kB / 1.36 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/1.307, allocations: 39.92 kB / 1.36 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.308, allocations: 79.89 kB / 1.36 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/1.309, allocations: 116.7 kB / 1.36 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.309, allocations: 44 kB / 1.36 GB, free: 380 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001891/1.311, allocations: 0.9088 MB / 1.361 GB, free: 15.46 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/1.311, allocations: 0 / 1.361 GB, free: 15.46 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003232/1.314, allocations: 0.6836 MB / 1.362 GB, free: 14.78 MB / 1.217 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.000324/1.314, allocations: 148.8 kB / 1.362 GB, free: 14.63 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.321, allocations: 3.386 MB / 1.365 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.321, allocations: 4 kB / 1.365 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003909/1.325, allocations: 2.236 MB / 1.368 GB, free: 8.773 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.328, allocations: 0.6404 MB / 1.368 GB, free: 8.156 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.342, allocations: 6.633 MB / 1.375 GB, free: 1.434 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003766/1.346, allocations: 2.116 MB / 1.377 GB, free: 15.28 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001699/1.348, allocations: 460.4 kB / 1.377 GB, free: 14.83 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.348, allocations: 116.5 kB / 1.377 GB, free: 14.71 MB / 1.232 GB Notification: Performance of SimCode: time 1.302e-06/1.348, allocations: 4 kB / 1.377 GB, free: 14.71 MB / 1.232 GB Notification: Performance of Templates: time 0.06573/1.414, allocations: 33.69 MB / 1.41 GB, free: 13.65 MB / 1.264 GB " [Timeout remaining time 299] 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 -s ida -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: 10.36749424401205]