Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001432/0.001432, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001699/0.001699, allocations: 216.7 kB / 22.25 MB, free: 4.852 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.797 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.844/2.844, allocations: 476 MB / 0.7699 GB, free: 4.754 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [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.002118/0.002118, allocations: 63.56 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03203/0.3653, allocations: 22.25 MB / 1.305 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.3787, allocations: 6.446 MB / 1.311 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.3809, allocations: 127.1 kB / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.3857, allocations: 1.514 MB / 1.313 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.3911, allocations: 1.933 MB / 1.315 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.3956, allocations: 1.471 MB / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.4059, allocations: 6.908 MB / 1.323 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009205/0.4151, allocations: 3.73 MB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.4211, allocations: 2.929 MB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006783/0.4279, allocations: 3.563 MB / 1.333 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.4298, allocations: 0.5273 MB / 1.333 GB, free: 8.285 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.4336, allocations: 1.116 MB / 1.334 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004518/0.4381, allocations: 2.533 MB / 1.337 GB, free: 4.629 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005342/0.4434, allocations: 2.05 MB / 1.339 GB, free: 2.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.4567, allocations: 8.593 MB / 1.347 GB, free: 9.949 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4567, allocations: 0 / 1.347 GB, free: 9.949 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4567, allocations: 0 / 1.347 GB, free: 9.949 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003444/0.4571, allocations: 0 / 1.347 GB, free: 9.949 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01313/0.4702, allocations: 4.464 MB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4703, allocations: 16.02 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/0.4789, allocations: 1.703 MB / 1.353 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008272/0.4872, allocations: 2.672 MB / 1.356 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.4875, allocations: 275.7 kB / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.489, allocations: 360.3 kB / 1.356 GB, free: 376 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.5046, allocations: 7.712 MB / 1.364 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.57e-05/0.5047, allocations: 15.89 kB / 1.364 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/0.5051, allocations: 159.9 kB / 1.364 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006701/0.5058, allocations: 483.4 kB / 1.365 GB, free: 7.688 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.5176, allocations: 5.701 MB / 1.37 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03673/0.5544, allocations: 19.95 MB / 1.39 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.5578, allocations: 2.004 MB / 1.392 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.5612, allocations: 2.1 MB / 1.394 GB, free: 9.445 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.5613, allocations: 13.31 kB / 1.394 GB, free: 9.434 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.5614, allocations: 55.81 kB / 1.394 GB, free: 9.367 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.857e-06/0.5614, allocations: 0 / 1.394 GB, free: 9.367 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.3274/0.8888, allocations: 76.71 MB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.8889, allocations: 85.39 kB / 1.469 GB, free: 12.44 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.8915, allocations: 1.602 MB / 1.47 GB, free: 10.84 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.8919, allocations: 65.7 kB / 1.47 GB, free: 10.77 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.8934, allocations: 1.799 MB / 1.472 GB, free: 8.949 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.8946, allocations: 0.8946 MB / 1.473 GB, free: 8.047 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.8958, allocations: 493.3 kB / 1.473 GB, free: 7.559 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8959, allocations: 305.1 kB / 1.474 GB, free: 7.258 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/0.9001, allocations: 2.726 MB / 1.476 GB, free: 4.527 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005274/0.9054, allocations: 3.336 MB / 1.48 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009724/0.9151, allocations: 6.393 MB / 1.486 GB, free: 10.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.9151, allocations: 8 kB / 1.486 GB, free: 10.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03476/0.9499, allocations: 14.4 MB / 1.5 GB, free: 11.86 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.9499, allocations: 12 kB / 1.5 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/0.95, allocations: 16 kB / 1.5 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03183/0.9818, allocations: 9.206 MB / 1.509 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.9831, allocations: 307.4 kB / 1.509 GB, free: 2.297 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08962/1.073, allocations: 50.83 MB / 1.559 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.076, allocations: 219.7 kB / 1.559 GB, free: 14.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000485/1.076, allocations: 99.98 kB / 1.559 GB, free: 14.5 MB / 1.264 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00301/1.079, allocations: 1.59 MB / 1.561 GB, free: 12.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/1.08, allocations: 250.6 kB / 1.561 GB, free: 12.65 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/1.116, allocations: 14.47 MB / 1.575 GB, free: 14.12 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/1.116, allocations: 24 kB / 1.575 GB, free: 14.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001878/1.116, allocations: 47.98 kB / 1.575 GB, free: 14.05 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/1.116, allocations: 19.89 kB / 1.575 GB, free: 14.03 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04807/1.164, allocations: 18.93 MB / 1.594 GB, free: 10.93 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/1.164, allocations: 8 kB / 1.594 GB, free: 10.92 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/1.165, allocations: 163.7 kB / 1.594 GB, free: 10.76 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03153/1.197, allocations: 8.965 MB / 1.603 GB, free: 1.766 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005234/1.197, allocations: 48 kB / 1.603 GB, free: 1.719 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6713/1.869, allocations: 50.42 MB / 1.652 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.869, allocations: 11.97 kB / 1.652 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/1.897, allocations: 14.09 MB / 1.666 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/1.899, allocations: 0.7676 MB / 1.666 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/1.9, allocations: 55.98 kB / 1.667 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.902, allocations: 203.7 kB / 1.667 GB, free: 264.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/1.903, allocations: 250.1 kB / 1.667 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.903, allocations: 67.94 kB / 1.667 GB, free: 264.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001156/1.905, allocations: 1.068 MB / 1.668 GB, free: 263.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.5e-07/1.905, allocations: 0 / 1.668 GB, free: 263.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004121/1.909, allocations: 1.609 MB / 1.67 GB, free: 262 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003418/1.909, allocations: 158.9 kB / 1.67 GB, free: 261.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01953/1.928, allocations: 10.21 MB / 1.68 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.929, allocations: 0 / 1.68 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/1.945, allocations: 7.019 MB / 1.687 GB, free: 244.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.947, allocations: 0.5397 MB / 1.687 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.959, allocations: 8.917 MB / 1.696 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.962, allocations: 2.673 MB / 1.698 GB, free: 232.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009674/1.963, allocations: 382.4 kB / 1.699 GB, free: 231.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.964, allocations: 99.42 kB / 1.699 GB, free: 231.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.263e-06/1.964, allocations: 0 / 1.699 GB, free: 231.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1077/2.071, allocations: 102 MB / 1.799 GB, free: 130.3 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 12.425705948844552]