Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 198.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7831, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03392/0.817, allocations: 27.93 MB / 1.301 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.8336, allocations: 8.348 MB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.8358, allocations: 115.4 kB / 1.31 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00775/0.8436, allocations: 2.864 MB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.8484, allocations: 1.671 MB / 1.314 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.8531, allocations: 1.732 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008322/0.8614, allocations: 6.123 MB / 1.322 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006038/0.8675, allocations: 3.607 MB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.8716, allocations: 2.613 MB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005/0.8766, allocations: 2.998 MB / 1.331 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.8778, allocations: 0.5117 MB / 1.331 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.8811, allocations: 1.307 MB / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.8842, allocations: 2.104 MB / 1.335 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.888, allocations: 2.385 MB / 1.337 GB, free: 3.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009898/0.8979, allocations: 8.074 MB / 1.345 GB, free: 11.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8979, allocations: 0 / 1.345 GB, free: 11.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8979, allocations: 0 / 1.345 GB, free: 11.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002305/0.8981, allocations: 0 / 1.345 GB, free: 11.86 MB / 1.045 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.01412/0.9122, allocations: 4.351 MB / 1.349 GB, free: 7.434 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.9123, allocations: 8.031 kB / 1.349 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.9169, allocations: 0.8179 MB / 1.35 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/0.9234, allocations: 2.59 MB / 1.352 GB, free: 3.961 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.9237, allocations: 271.6 kB / 1.353 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.9248, allocations: 380.5 kB / 1.353 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.9376, allocations: 5.992 MB / 1.359 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.9377, allocations: 15.88 kB / 1.359 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007009/0.9384, allocations: 156 kB / 1.359 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006547/0.9391, allocations: 286.9 kB / 1.359 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009683/0.9488, allocations: 4.528 MB / 1.364 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/0.9873, allocations: 27.5 MB / 1.391 GB, free: 10.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.9894, allocations: 1.057 MB / 1.392 GB, free: 9.027 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.991, allocations: 0.9658 MB / 1.392 GB, free: 8.062 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.9911, allocations: 17 kB / 1.393 GB, free: 8.047 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.9912, allocations: 47.56 kB / 1.393 GB, free: 7.988 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.806e-06/0.9912, allocations: 0 / 1.393 GB, free: 7.988 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.0242/1.015, allocations: 9.701 MB / 1.402 GB, free: 14.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.015, allocations: 68.72 kB / 1.402 GB, free: 14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.018, allocations: 1.494 MB / 1.404 GB, free: 12.51 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.018, allocations: 49.64 kB / 1.404 GB, free: 12.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/1.02, allocations: 1.707 MB / 1.405 GB, free: 10.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/1.02, allocations: 495.8 kB / 1.406 GB, free: 10.24 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006317/1.021, allocations: 339.4 kB / 1.406 GB, free: 9.902 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.021, allocations: 305.1 kB / 1.406 GB, free: 9.602 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.022, allocations: 0.9174 MB / 1.407 GB, free: 8.684 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.024, allocations: 1.459 MB / 1.409 GB, free: 6.984 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.028, allocations: 2.55 MB / 1.411 GB, free: 4.195 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/1.028, allocations: 8 kB / 1.411 GB, free: 4.188 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006889/1.035, allocations: 3.275 MB / 1.414 GB, free: 0.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.035, allocations: 12 kB / 1.414 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.035, allocations: 20 kB / 1.414 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/1.038, allocations: 0.7459 MB / 1.415 GB, free: 72 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.04, allocations: 383.4 kB / 1.415 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.06, allocations: 17.04 MB / 1.432 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.061, allocations: 95.91 kB / 1.432 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/1.062, allocations: 83.98 kB / 1.432 GB, free: 13.21 MB / 1.139 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.002611/1.064, allocations: 1.313 MB / 1.434 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/1.065, allocations: 206.7 kB / 1.434 GB, free: 11.69 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005937/1.071, allocations: 2.765 MB / 1.436 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.071, allocations: 12 kB / 1.436 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/1.071, allocations: 8 kB / 1.437 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.071, allocations: 3.984 kB / 1.437 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.083, allocations: 6.205 MB / 1.443 GB, free: 2.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.083, allocations: 8 kB / 1.443 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.084, allocations: 227.9 kB / 1.443 GB, free: 2.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/1.087, allocations: 0.6713 MB / 1.443 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.087, allocations: 32 kB / 1.443 GB, free: 1.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.107, allocations: 16.8 MB / 1.46 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.107, allocations: 7.938 kB / 1.46 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/1.114, allocations: 4.001 MB / 1.464 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.116, allocations: 455.7 kB / 1.464 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/1.116, allocations: 39.92 kB / 1.464 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.117, allocations: 83.89 kB / 1.464 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/1.118, allocations: 108.9 kB / 1.464 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.118, allocations: 47.98 kB / 1.465 GB, free: 10.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001763/1.12, allocations: 0.9903 MB / 1.465 GB, free: 9.625 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 1.465 GB, free: 9.625 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00268/1.122, allocations: 0.6875 MB / 1.466 GB, free: 8.938 MB / 1.17 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.0003406/1.123, allocations: 151.5 kB / 1.466 GB, free: 8.781 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006124/1.129, allocations: 3.377 MB / 1.47 GB, free: 5.289 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.129, allocations: 7.938 kB / 1.47 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.132, allocations: 2.249 MB / 1.472 GB, free: 2.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/1.136, allocations: 0.6654 MB / 1.472 GB, free: 2.27 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.15, allocations: 6.655 MB / 1.479 GB, free: 11.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.154, allocations: 2.668 MB / 1.482 GB, free: 8.82 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001676/1.156, allocations: 485.4 kB / 1.482 GB, free: 8.344 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.156, allocations: 123.4 kB / 1.482 GB, free: 8.223 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.156, allocations: 0 / 1.482 GB, free: 8.223 MB / 1.186 GB Notification: Performance of Templates: time 0.06766/1.224, allocations: 35.12 MB / 1.516 GB, free: 5.598 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.770157186780125]