Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00178/0.00178, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002184/0.002184, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.763/2.763, allocations: 476 MB / 0.7707 GB, free: 4.703 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002136/0.002136, allocations: 65.77 kB / 1.118 GB, free: 41.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4107, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04351/0.4542, allocations: 31.71 MB / 1.315 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.4825, allocations: 14.45 MB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.4875, allocations: 214.3 kB / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.4991, allocations: 3.665 MB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.5105, allocations: 2.976 MB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007799/0.5183, allocations: 2.34 MB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01425/0.5326, allocations: 8.816 MB / 1.346 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.5432, allocations: 5.483 MB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009498/0.5527, allocations: 4.223 MB / 1.356 GB, free: 1.762 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008651/0.5613, allocations: 3.932 MB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002931/0.5643, allocations: 0.7109 MB / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/0.5703, allocations: 1.619 MB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005649/0.5759, allocations: 2.887 MB / 1.365 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008162/0.5841, allocations: 2.751 MB / 1.368 GB, free: 5.828 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02136/0.6054, allocations: 11.24 MB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.6054, allocations: 0 / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.885e-06/0.6055, allocations: 4 kB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004263/0.6059, allocations: 3.938 kB / 1.379 GB, free: 10.54 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0197/0.6256, allocations: 6.037 MB / 1.384 GB, free: 4.441 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6256, allocations: 8.031 kB / 1.384 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008253/0.6339, allocations: 1.168 MB / 1.386 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009542/0.6434, allocations: 3.454 MB / 1.389 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/0.6439, allocations: 374.3 kB / 1.389 GB, free: 15.35 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.6464, allocations: 0.4883 MB / 1.39 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.6704, allocations: 8.702 MB / 1.398 GB, free: 5.719 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000324/0.6707, allocations: 19.84 kB / 1.398 GB, free: 5.699 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.6727, allocations: 216 kB / 1.399 GB, free: 5.488 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/0.674, allocations: 445.5 kB / 1.399 GB, free: 5.051 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.69, allocations: 6.073 MB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.7352, allocations: 21.22 MB / 1.426 GB, free: 9.262 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.7388, allocations: 1.92 MB / 1.427 GB, free: 7.332 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.7419, allocations: 1.736 MB / 1.429 GB, free: 5.594 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.7421, allocations: 22 kB / 1.429 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.7422, allocations: 56.56 kB / 1.429 GB, free: 5.508 MB / 1.123 GB Notification: Performance of pre-optimization done (n=171): time 5.2e-06/0.7422, allocations: 0 / 1.429 GB, free: 5.508 MB / 1.123 GB Notification: Performance of matching and sorting (n=276): time 0.1595/0.9017, allocations: 38.67 MB / 1.467 GB, free: 14.78 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9018, allocations: 89.5 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.9066, allocations: 2.043 MB / 1.469 GB, free: 12.62 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/0.9072, allocations: 69.7 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.9095, allocations: 2.352 MB / 1.471 GB, free: 10.17 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/0.9111, allocations: 0.976 MB / 1.472 GB, free: 9.184 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/0.913, allocations: 0.5063 MB / 1.473 GB, free: 8.668 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.9132, allocations: 305.1 kB / 1.473 GB, free: 8.367 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.9168, allocations: 1.973 MB / 1.475 GB, free: 6.391 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/0.9212, allocations: 2.599 MB / 1.478 GB, free: 3.551 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/0.9296, allocations: 4.933 MB / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/0.9296, allocations: 4 kB / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01786/0.9475, allocations: 7.631 MB / 1.49 GB, free: 6.637 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.9475, allocations: 19.98 kB / 1.49 GB, free: 6.617 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.9476, allocations: 16 kB / 1.49 GB, free: 6.602 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.9585, allocations: 3.198 MB / 1.493 GB, free: 3.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.9605, allocations: 407.2 kB / 1.493 GB, free: 2.992 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05685/1.017, allocations: 32.56 MB / 1.525 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/1.021, allocations: 163.8 kB / 1.525 GB, free: 1.645 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006847/1.022, allocations: 112 kB / 1.526 GB, free: 1.535 MB / 1.217 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004731/1.026, allocations: 1.801 MB / 1.527 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.028, allocations: 314.1 kB / 1.528 GB, free: 15.41 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.045, allocations: 7.232 MB / 1.535 GB, free: 8.098 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/1.045, allocations: 24 kB / 1.535 GB, free: 8.074 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001226/1.045, allocations: 32 kB / 1.535 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/1.045, allocations: 15.89 kB / 1.535 GB, free: 8.027 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02895/1.074, allocations: 11.4 MB / 1.546 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/1.074, allocations: 4 kB / 1.546 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.075, allocations: 231.6 kB / 1.546 GB, free: 12.24 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009961/1.085, allocations: 2.851 MB / 1.549 GB, free: 9.375 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004994/1.085, allocations: 52 kB / 1.549 GB, free: 9.324 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05438/1.14, allocations: 31.35 MB / 1.58 GB, free: 9.348 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/1.14, allocations: 11.94 kB / 1.58 GB, free: 9.336 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.156, allocations: 6.75 MB / 1.586 GB, free: 2.379 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.159, allocations: 0.701 MB / 1.587 GB, free: 1.676 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.16, allocations: 56 kB / 1.587 GB, free: 1.621 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.162, allocations: 176.5 kB / 1.587 GB, free: 1.449 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/1.163, allocations: 261.3 kB / 1.587 GB, free: 1.191 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/1.164, allocations: 79.98 kB / 1.587 GB, free: 1.113 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003166/1.167, allocations: 1.33 MB / 1.589 GB, free: 15.77 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.167, allocations: 0 / 1.589 GB, free: 15.77 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005959/1.173, allocations: 1.367 MB / 1.59 GB, free: 14.4 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/1.174, allocations: 173.5 kB / 1.59 GB, free: 14.22 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.188, allocations: 6.567 MB / 1.597 GB, free: 7.562 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/1.188, allocations: 4 kB / 1.597 GB, free: 7.559 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009567/1.197, allocations: 4.245 MB / 1.601 GB, free: 3.227 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/1.204, allocations: 1.011 MB / 1.602 GB, free: 2.246 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7623/1.966, allocations: 11.03 MB / 1.612 GB, free: 288.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006763/1.973, allocations: 3.223 MB / 1.616 GB, free: 288 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008956/1.974, allocations: 158 kB / 1.616 GB, free: 288 MB / 1.295 GB Notification: Performance of SimCode: time 1.773e-06/1.974, allocations: 2.531 kB / 1.616 GB, free: 288 MB / 1.295 GB Notification: Performance of Templates: time 0.1914/2.165, allocations: 228 MB / 1.838 GB, free: 82.18 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 26.37780929869041]