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.00178/0.00178, 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.00216/0.00216, allocations: 201.2 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.49/1.49, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.002389/0.002389, allocations: 59.91 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.812, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03889/0.8509, allocations: 27.93 MB / 1.301 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.8672, allocations: 8.34 MB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.8698, allocations: 119.4 kB / 1.31 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008238/0.878, allocations: 2.871 MB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.8832, allocations: 1.668 MB / 1.314 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.8882, allocations: 1.727 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008685/0.8968, allocations: 6.134 MB / 1.322 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005994/0.9028, allocations: 3.591 MB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.9076, allocations: 2.617 MB / 1.328 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005665/0.9133, allocations: 3.006 MB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.9148, allocations: 0.5078 MB / 1.331 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.9184, allocations: 1.303 MB / 1.332 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003512/0.9219, allocations: 2.112 MB / 1.335 GB, free: 6.336 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004808/0.9267, allocations: 2.377 MB / 1.337 GB, free: 3.949 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.9379, allocations: 8.074 MB / 1.345 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9379, allocations: 0 / 1.345 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9379, allocations: 0 / 1.345 GB, free: 11.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002114/0.9381, allocations: 8 kB / 1.345 GB, free: 11.84 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.01145/0.9496, allocations: 4.347 MB / 1.349 GB, free: 7.426 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.9496, allocations: 16.03 kB / 1.349 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.9547, allocations: 0.8101 MB / 1.35 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.9616, allocations: 2.59 MB / 1.352 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.9619, allocations: 271.6 kB / 1.353 GB, free: 3.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.9633, allocations: 388.5 kB / 1.353 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.976, allocations: 5.98 MB / 1.359 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.9761, allocations: 19.88 kB / 1.359 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.9765, allocations: 156 kB / 1.359 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007295/0.9772, allocations: 282.9 kB / 1.359 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009616/0.9869, allocations: 4.524 MB / 1.364 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/1.027, allocations: 27.5 MB / 1.391 GB, free: 10.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.029, allocations: 1.063 MB / 1.392 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/1.031, allocations: 0.9641 MB / 1.392 GB, free: 8.051 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.539e-05/1.031, allocations: 13 kB / 1.393 GB, free: 8.039 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/1.031, allocations: 43.56 kB / 1.393 GB, free: 7.984 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.975e-06/1.031, allocations: 0 / 1.393 GB, free: 7.984 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02514/1.056, allocations: 9.706 MB / 1.402 GB, free: 14.08 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.056, allocations: 68.66 kB / 1.402 GB, free: 14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/1.059, allocations: 1.49 MB / 1.404 GB, free: 12.51 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/1.059, allocations: 45.7 kB / 1.404 GB, free: 12.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.061, allocations: 1.715 MB / 1.405 GB, free: 10.72 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/1.061, allocations: 495.8 kB / 1.406 GB, free: 10.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/1.062, allocations: 331.4 kB / 1.406 GB, free: 9.902 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.062, allocations: 305.1 kB / 1.406 GB, free: 9.602 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.063, allocations: 0.9213 MB / 1.407 GB, free: 8.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/1.066, allocations: 1.459 MB / 1.409 GB, free: 6.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/1.07, allocations: 2.546 MB / 1.411 GB, free: 4.195 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.07, allocations: 11.88 kB / 1.411 GB, free: 4.184 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006613/1.076, allocations: 3.271 MB / 1.414 GB, free: 0.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/1.077, allocations: 16.25 kB / 1.414 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.077, allocations: 19.94 kB / 1.414 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/1.079, allocations: 0.7374 MB / 1.415 GB, free: 76 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.081, allocations: 387.4 kB / 1.415 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/1.1, allocations: 17.05 MB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.102, allocations: 99.91 kB / 1.432 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/1.102, allocations: 79.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.002304/1.104, allocations: 1.316 MB / 1.434 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/1.105, allocations: 210.7 kB / 1.434 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/1.11, allocations: 2.761 MB / 1.436 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/1.11, allocations: 16 kB / 1.437 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.11, allocations: 8 kB / 1.437 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.11, allocations: 7.922 kB / 1.437 GB, free: 8.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.122, allocations: 6.201 MB / 1.443 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.122, allocations: 4 kB / 1.443 GB, free: 2.469 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.124, allocations: 231.6 kB / 1.443 GB, free: 2.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/1.126, allocations: 0.6718 MB / 1.443 GB, free: 1.543 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.126, allocations: 39.98 kB / 1.443 GB, free: 1.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/1.145, allocations: 16.79 MB / 1.46 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.145, allocations: 7.938 kB / 1.46 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007478/1.152, allocations: 3.998 MB / 1.464 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.154, allocations: 455.7 kB / 1.464 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/1.154, allocations: 43.92 kB / 1.464 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/1.155, allocations: 79.89 kB / 1.464 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.155, allocations: 112.7 kB / 1.464 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/1.155, allocations: 47.98 kB / 1.465 GB, free: 10.6 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001494/1.157, allocations: 0.9903 MB / 1.465 GB, free: 9.617 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.157, allocations: 0 / 1.465 GB, free: 9.617 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002491/1.159, allocations: 0.6836 MB / 1.466 GB, free: 8.934 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.0003349/1.16, allocations: 154.5 kB / 1.466 GB, free: 8.777 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005964/1.166, allocations: 3.381 MB / 1.47 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.166, allocations: 0 / 1.47 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/1.169, allocations: 2.256 MB / 1.472 GB, free: 2.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/1.173, allocations: 0.6676 MB / 1.472 GB, free: 2.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.185, allocations: 6.647 MB / 1.479 GB, free: 11.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.189, allocations: 2.672 MB / 1.482 GB, free: 8.809 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001636/1.19, allocations: 477.4 kB / 1.482 GB, free: 8.34 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.191, allocations: 123.4 kB / 1.482 GB, free: 8.219 MB / 1.186 GB Notification: Performance of SimCode: time 9.42e-07/1.191, allocations: 7.938 kB / 1.482 GB, free: 8.211 MB / 1.186 GB Notification: Performance of Templates: time 0.07017/1.261, allocations: 35.12 MB / 1.516 GB, free: 5.578 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 gbode -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: 10.005817816127092]