Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001644/0.001644, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001893/0.001893, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.002166/0.002166, allocations: 75.98 kB / 1.154 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01344/0.3909, allocations: 9.64 MB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006709/0.3976, allocations: 3.154 MB / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3986, allocations: 51.62 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.4008, allocations: 0.5946 MB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.4031, allocations: 0.7779 MB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.4052, allocations: 0.7434 MB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003909/0.4091, allocations: 2.992 MB / 1.344 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.4116, allocations: 1.415 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.4141, allocations: 1.297 MB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.417, allocations: 1.632 MB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.4175, allocations: 236 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4187, allocations: 483.3 kB / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.42, allocations: 1.099 MB / 1.35 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4213, allocations: 0.9104 MB / 1.351 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.4255, allocations: 3.722 MB / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4255, allocations: 0 / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4255, allocations: 0 / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.383e-05/0.4256, allocations: 0 / 1.354 GB, free: 5.113 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004793/0.4304, allocations: 2.123 MB / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4304, allocations: 8.031 kB / 1.356 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009108/0.4395, allocations: 1.318 MB / 1.358 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.4431, allocations: 1.265 MB / 1.359 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.4432, allocations: 111.4 kB / 1.359 GB, free: 228 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.4437, allocations: 148.3 kB / 1.359 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.4499, allocations: 3.528 MB / 1.363 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.4499, allocations: 4 kB / 1.363 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.4502, allocations: 67.97 kB / 1.363 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002891/0.4504, allocations: 207.1 kB / 1.363 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00552/0.456, allocations: 3.116 MB / 1.366 GB, free: 9.039 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.4752, allocations: 9.837 MB / 1.376 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.478, allocations: 1.605 MB / 1.377 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.4801, allocations: 1.331 MB / 1.378 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.4802, allocations: 12.98 kB / 1.378 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4802, allocations: 43.56 kB / 1.378 GB, free: 12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 4.068e-06/0.4802, allocations: 0 / 1.378 GB, free: 12 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1561/0.6363, allocations: 36.19 MB / 1.414 GB, free: 7.762 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6364, allocations: 69.41 kB / 1.414 GB, free: 7.68 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.6386, allocations: 1.048 MB / 1.415 GB, free: 6.625 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.6391, allocations: 49.7 kB / 1.415 GB, free: 6.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/0.6398, allocations: 0.8131 MB / 1.416 GB, free: 5.75 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.641, allocations: 0.6468 MB / 1.416 GB, free: 5.098 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.6423, allocations: 367.5 kB / 1.417 GB, free: 4.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6424, allocations: 305.1 kB / 1.417 GB, free: 4.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/0.6456, allocations: 1.932 MB / 1.419 GB, free: 2.496 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/0.6491, allocations: 2.289 MB / 1.421 GB, free: 88 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.6559, allocations: 4.387 MB / 1.425 GB, free: 11.58 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.6559, allocations: 0 / 1.425 GB, free: 11.58 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02264/0.6786, allocations: 8.871 MB / 1.434 GB, free: 2.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.6786, allocations: 8 kB / 1.434 GB, free: 2.672 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/0.6786, allocations: 15.94 kB / 1.434 GB, free: 2.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/0.6976, allocations: 4.976 MB / 1.439 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6986, allocations: 195.6 kB / 1.439 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06975/0.7683, allocations: 37.82 MB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.7707, allocations: 103.9 kB / 1.476 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/0.7713, allocations: 64 kB / 1.476 GB, free: 7.07 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001968/0.7732, allocations: 0.7979 MB / 1.477 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/0.7738, allocations: 143.1 kB / 1.477 GB, free: 6.121 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/0.7962, allocations: 8.737 MB / 1.486 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/0.7963, allocations: 27.92 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001157/0.7964, allocations: 28 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.929e-05/0.7964, allocations: 7.969 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03191/0.8283, allocations: 12.4 MB / 1.498 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.8284, allocations: 7.938 kB / 1.498 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.8289, allocations: 115.9 kB / 1.498 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/0.8482, allocations: 4.827 MB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/0.8487, allocations: 36 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06374/0.9125, allocations: 35.76 MB / 1.538 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.9125, allocations: 15.81 kB / 1.538 GB, free: 7.555 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/0.9342, allocations: 8.44 MB / 1.546 GB, free: 15.03 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.9363, allocations: 0.5769 MB / 1.547 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/0.9368, allocations: 43.92 kB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.9384, allocations: 87.89 kB / 1.547 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009057/0.9393, allocations: 173.5 kB / 1.547 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.9395, allocations: 44 kB / 1.547 GB, free: 14.11 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001307/0.9408, allocations: 0.7219 MB / 1.548 GB, free: 13.37 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.9408, allocations: 0 / 1.548 GB, free: 13.37 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00386/0.9447, allocations: 1.004 MB / 1.549 GB, free: 12.37 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.9451, allocations: 139.1 kB / 1.549 GB, free: 12.22 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01126/0.9563, allocations: 5.751 MB / 1.554 GB, free: 6.414 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.9564, allocations: 4 kB / 1.554 GB, free: 6.41 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.009029/0.9654, allocations: 3.786 MB / 1.558 GB, free: 2.574 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.9674, allocations: 239.2 kB / 1.558 GB, free: 2.348 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.9787, allocations: 5.481 MB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.981, allocations: 1.302 MB / 1.565 GB, free: 11.46 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.9813, allocations: 63.44 kB / 1.565 GB, free: 11.39 MB / 1.264 GB Notification: Performance of SimCode: time 9.61e-07/0.9813, allocations: 4 kB / 1.565 GB, free: 11.39 MB / 1.264 GB Notification: Performance of Templates: time 0.8341/1.815, allocations: 70.09 MB / 1.633 GB, free: 260.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 17.167020381893963]