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.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.001331/0.001331, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001493/0.001493, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.737/2.737, allocations: 476.7 MB / 0.7714 GB, free: 4.34 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.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_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: 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.002046/0.002046, allocations: 72.06 kB / 1.119 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 169.9 MB / 1.285 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03555/0.4077, allocations: 27.94 MB / 1.312 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.4245, allocations: 8.394 MB / 1.32 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.4277, allocations: 154.8 kB / 1.32 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00826/0.436, allocations: 2.882 MB / 1.323 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005794/0.4418, allocations: 1.664 MB / 1.325 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005262/0.4471, allocations: 1.735 MB / 1.326 GB, free: 8.414 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.4571, allocations: 6.147 MB / 1.332 GB, free: 2.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006556/0.4637, allocations: 3.773 MB / 1.336 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.4693, allocations: 2.652 MB / 1.339 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.4756, allocations: 3.006 MB / 1.342 GB, free: 8.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.4772, allocations: 0.5078 MB / 1.342 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.4809, allocations: 1.307 MB / 1.343 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.4842, allocations: 2.097 MB / 1.345 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005006/0.4892, allocations: 2.381 MB / 1.348 GB, free: 2.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5006, allocations: 8.083 MB / 1.356 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5006, allocations: 0 / 1.356 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5006, allocations: 4 kB / 1.356 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002513/0.5009, allocations: 0 / 1.356 GB, free: 10.29 MB / 1.061 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.01127/0.5121, allocations: 4.256 MB / 1.36 GB, free: 5.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5122, allocations: 16.03 kB / 1.36 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.5166, allocations: 0.8179 MB / 1.361 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006188/0.5228, allocations: 2.53 MB / 1.363 GB, free: 2.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.523, allocations: 279.6 kB / 1.363 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.5241, allocations: 376.6 kB / 1.364 GB, free: 1.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.5364, allocations: 5.992 MB / 1.37 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.5365, allocations: 23.77 kB / 1.37 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.5369, allocations: 156 kB / 1.37 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006548/0.5376, allocations: 286.9 kB / 1.37 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00894/0.5465, allocations: 4.528 MB / 1.374 GB, free: 6.668 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/0.582, allocations: 27.23 MB / 1.401 GB, free: 8.93 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5838, allocations: 1.067 MB / 1.402 GB, free: 7.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.5851, allocations: 0.9603 MB / 1.403 GB, free: 6.895 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.5852, allocations: 9 kB / 1.403 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.5853, allocations: 47.56 kB / 1.403 GB, free: 6.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 2.545e-06/0.5853, allocations: 0 / 1.403 GB, free: 6.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.02226/0.6076, allocations: 9.101 MB / 1.412 GB, free: 13.67 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.6076, allocations: 64.72 kB / 1.412 GB, free: 13.59 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.6099, allocations: 1.494 MB / 1.413 GB, free: 12.1 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.6101, allocations: 49.7 kB / 1.414 GB, free: 12.05 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.6115, allocations: 1.711 MB / 1.415 GB, free: 10.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/0.612, allocations: 491.8 kB / 1.416 GB, free: 9.832 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.6125, allocations: 327.4 kB / 1.416 GB, free: 9.504 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6126, allocations: 309.1 kB / 1.416 GB, free: 9.199 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.6142, allocations: 0.9174 MB / 1.417 GB, free: 8.281 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.6161, allocations: 1.463 MB / 1.419 GB, free: 6.578 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.6198, allocations: 2.55 MB / 1.421 GB, free: 3.789 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6198, allocations: 4 kB / 1.421 GB, free: 3.785 MB / 1.123 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006582/0.6264, allocations: 3.275 MB / 1.424 GB, free: 484 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.6264, allocations: 16.06 kB / 1.424 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.6264, allocations: 16 kB / 1.424 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.6288, allocations: 0.7335 MB / 1.425 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.6304, allocations: 387.3 kB / 1.425 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.649, allocations: 16.14 MB / 1.441 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.6507, allocations: 95.91 kB / 1.441 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6509, allocations: 75.94 kB / 1.441 GB, free: 13.95 MB / 1.154 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.00266/0.6535, allocations: 1.321 MB / 1.443 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.654, allocations: 206.7 kB / 1.443 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/0.6595, allocations: 2.769 MB / 1.446 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6595, allocations: 12 kB / 1.446 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.6595, allocations: 8 kB / 1.446 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.6596, allocations: 7.969 kB / 1.446 GB, free: 9.578 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.6712, allocations: 6.165 MB / 1.452 GB, free: 3.254 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.6712, allocations: 7.938 kB / 1.452 GB, free: 3.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.6724, allocations: 231.7 kB / 1.452 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.6745, allocations: 0.6677 MB / 1.452 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.6746, allocations: 39.98 kB / 1.452 GB, free: 2.285 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.6919, allocations: 15.88 MB / 1.468 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.692, allocations: 15.94 kB / 1.468 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006973/0.6989, allocations: 3.99 MB / 1.472 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.7002, allocations: 386.6 kB / 1.472 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.7004, allocations: 39.92 kB / 1.472 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.7013, allocations: 79.89 kB / 1.472 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.7016, allocations: 128.5 kB / 1.472 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.7017, allocations: 40 kB / 1.473 GB, free: 12.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001513/0.7032, allocations: 0.9903 MB / 1.473 GB, free: 11.62 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7032, allocations: 0 / 1.473 GB, free: 11.62 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002422/0.7057, allocations: 0.6914 MB / 1.474 GB, free: 10.93 MB / 1.186 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.0002836/0.706, allocations: 147 kB / 1.474 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005766/0.7117, allocations: 3.385 MB / 1.478 GB, free: 7.273 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7117, allocations: 0 / 1.478 GB, free: 7.273 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/0.7153, allocations: 2.249 MB / 1.48 GB, free: 4.906 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.7184, allocations: 0.6749 MB / 1.48 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.7315, allocations: 7.129 MB / 1.487 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/0.7347, allocations: 2.719 MB / 1.49 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.7353, allocations: 135.4 kB / 1.49 GB, free: 10.14 MB / 1.201 GB Notification: Performance of SimCode: time 1.313e-06/0.7353, allocations: 0 / 1.49 GB, free: 10.14 MB / 1.201 GB Notification: Performance of Templates: time 0.8838/1.619, allocations: 210 MB / 1.695 GB, free: 156.6 MB / 1.264 GB " [Timeout remaining time 298] 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/jenkins1/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: 21.929147771996213]