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.00128/0.00128, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001401/0.001401, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.512/1.512, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.001858/0.001858, allocations: 71.89 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8645, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03383/0.8984, allocations: 27.92 MB / 1.302 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.9129, allocations: 8.336 MB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.9152, allocations: 154.8 kB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007646/0.9228, allocations: 2.893 MB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.9274, allocations: 1.668 MB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.9318, allocations: 1.738 MB / 1.316 GB, free: 9.352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007763/0.9395, allocations: 6.143 MB / 1.322 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005519/0.9451, allocations: 3.601 MB / 1.326 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/0.9494, allocations: 2.648 MB / 1.328 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/0.9546, allocations: 2.994 MB / 1.331 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.956, allocations: 0.5078 MB / 1.332 GB, free: 9.316 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.9592, allocations: 1.307 MB / 1.333 GB, free: 8.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.9619, allocations: 2.108 MB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004137/0.966, allocations: 2.381 MB / 1.337 GB, free: 3.504 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.9772, allocations: 8.082 MB / 1.345 GB, free: 11.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9772, allocations: 0 / 1.345 GB, free: 11.4 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9772, allocations: 0 / 1.345 GB, free: 11.4 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002881/0.9775, allocations: 4 kB / 1.345 GB, free: 11.4 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.01069/0.9882, allocations: 4.26 MB / 1.349 GB, free: 7.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9882, allocations: 12.03 kB / 1.349 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.9925, allocations: 0.8179 MB / 1.35 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005772/0.9983, allocations: 2.53 MB / 1.353 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.9985, allocations: 271.7 kB / 1.353 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/0.9993, allocations: 384.5 kB / 1.353 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/1.01, allocations: 5.992 MB / 1.359 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.842e-05/1.01, allocations: 27.8 kB / 1.359 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/1.011, allocations: 156 kB / 1.359 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005951/1.011, allocations: 278.9 kB / 1.359 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008267/1.02, allocations: 4.524 MB / 1.364 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/1.052, allocations: 27.23 MB / 1.391 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/1.054, allocations: 1.063 MB / 1.392 GB, free: 8.973 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/1.055, allocations: 0.9603 MB / 1.392 GB, free: 8.012 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/1.055, allocations: 13 kB / 1.392 GB, free: 8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/1.055, allocations: 51.5 kB / 1.393 GB, free: 7.938 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.464e-06/1.055, allocations: 0 / 1.393 GB, free: 7.938 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02166/1.077, allocations: 9.097 MB / 1.401 GB, free: 14.78 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.077, allocations: 64.72 kB / 1.401 GB, free: 14.7 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/1.079, allocations: 1.494 MB / 1.403 GB, free: 13.21 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.079, allocations: 57.69 kB / 1.403 GB, free: 13.14 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.081, allocations: 1.711 MB / 1.405 GB, free: 11.42 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/1.081, allocations: 491.8 kB / 1.405 GB, free: 10.93 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005334/1.081, allocations: 331.4 kB / 1.405 GB, free: 10.6 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.082, allocations: 309.1 kB / 1.406 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.083, allocations: 0.9174 MB / 1.407 GB, free: 9.379 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/1.085, allocations: 1.463 MB / 1.408 GB, free: 7.676 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/1.088, allocations: 2.55 MB / 1.411 GB, free: 4.887 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.088, allocations: 4 kB / 1.411 GB, free: 4.883 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006122/1.094, allocations: 3.278 MB / 1.414 GB, free: 1.566 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.095, allocations: 12 kB / 1.414 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/1.095, allocations: 16.84 kB / 1.414 GB, free: 1.539 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/1.097, allocations: 0.7373 MB / 1.415 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.098, allocations: 383.4 kB / 1.415 GB, free: 408 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/1.116, allocations: 16.14 MB / 1.431 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.118, allocations: 100.1 kB / 1.431 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/1.118, allocations: 83.98 kB / 1.431 GB, free: 15.05 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.002124/1.12, allocations: 1.309 MB / 1.432 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/1.121, allocations: 206.7 kB / 1.432 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/1.126, allocations: 2.773 MB / 1.435 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.126, allocations: 12 kB / 1.435 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.126, allocations: 8 kB / 1.435 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.126, allocations: 3.984 kB / 1.435 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.137, allocations: 6.177 MB / 1.441 GB, free: 4.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.137, allocations: 4 kB / 1.441 GB, free: 4.344 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.138, allocations: 231.6 kB / 1.441 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/1.14, allocations: 0.6714 MB / 1.442 GB, free: 3.418 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/1.14, allocations: 28 kB / 1.442 GB, free: 3.391 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/1.157, allocations: 15.88 MB / 1.457 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.157, allocations: 11.88 kB / 1.457 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/1.164, allocations: 3.99 MB / 1.461 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.165, allocations: 390.8 kB / 1.462 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.165, allocations: 31.94 kB / 1.462 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/1.166, allocations: 91.81 kB / 1.462 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/1.166, allocations: 124.6 kB / 1.462 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/1.167, allocations: 43.92 kB / 1.462 GB, free: 13.7 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001425/1.168, allocations: 0.9942 MB / 1.463 GB, free: 12.71 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.168, allocations: 4 kB / 1.463 GB, free: 12.71 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002359/1.17, allocations: 0.6836 MB / 1.464 GB, free: 12.02 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.0002828/1.171, allocations: 149.8 kB / 1.464 GB, free: 11.87 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005526/1.176, allocations: 3.374 MB / 1.467 GB, free: 8.379 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.176, allocations: 0 / 1.467 GB, free: 8.379 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003383/1.18, allocations: 2.253 MB / 1.469 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.182, allocations: 0.6641 MB / 1.47 GB, free: 5.363 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.194, allocations: 6.64 MB / 1.476 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/1.197, allocations: 2.675 MB / 1.479 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001526/1.198, allocations: 481.4 kB / 1.48 GB, free: 11.45 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/1.199, allocations: 119.4 kB / 1.48 GB, free: 11.33 MB / 1.186 GB Notification: Performance of SimCode: time 1.342e-06/1.199, allocations: 0 / 1.48 GB, free: 11.33 MB / 1.186 GB Notification: Performance of Templates: time 0.06407/1.263, allocations: 35.68 MB / 1.514 GB, free: 8.148 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.132040838710964]