Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.00193/0.00193, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00254/0.00254, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002103/0.002103, allocations: 70.3 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04388/0.3987, allocations: 33.77 MB / 1.36 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.4208, allocations: 11.55 MB / 1.371 GB, free: 3.523 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004519/0.4254, allocations: 206.5 kB / 1.372 GB, free: 3.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.4377, allocations: 4.263 MB / 1.376 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.4443, allocations: 2.088 MB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006842/0.4512, allocations: 2.415 MB / 1.38 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.4626, allocations: 8.468 MB / 1.388 GB, free: 2.039 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.4733, allocations: 6.216 MB / 1.394 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.48, allocations: 3.876 MB / 1.398 GB, free: 7.816 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00769/0.4877, allocations: 4.428 MB / 1.403 GB, free: 3.375 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00223/0.49, allocations: 0.7773 MB / 1.403 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.4955, allocations: 1.903 MB / 1.405 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005448/0.5009, allocations: 3.145 MB / 1.408 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00616/0.5071, allocations: 2.751 MB / 1.411 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.5232, allocations: 12.06 MB / 1.423 GB, free: 14.68 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5232, allocations: 0 / 1.423 GB, free: 14.68 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5233, allocations: 0 / 1.423 GB, free: 14.68 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003582/0.5236, allocations: 0 / 1.423 GB, free: 14.68 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01566/0.5393, allocations: 5.867 MB / 1.428 GB, free: 8.746 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5393, allocations: 12.02 kB / 1.428 GB, free: 8.734 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006851/0.5462, allocations: 1.086 MB / 1.43 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009361/0.5555, allocations: 3.419 MB / 1.433 GB, free: 4.156 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.556, allocations: 419.5 kB / 1.433 GB, free: 3.746 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003333/0.5593, allocations: 0.5315 MB / 1.434 GB, free: 3.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.5851, allocations: 9.376 MB / 1.443 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.5853, allocations: 39.7 kB / 1.443 GB, free: 9.406 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.5863, allocations: 240 kB / 1.443 GB, free: 9.172 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004226/0.5867, allocations: 346.8 kB / 1.444 GB, free: 8.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.6014, allocations: 6.822 MB / 1.45 GB, free: 2 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.6401, allocations: 24.27 MB / 1.474 GB, free: 9.129 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.6438, allocations: 2.288 MB / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.6465, allocations: 1.775 MB / 1.478 GB, free: 5.074 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.6466, allocations: 22 kB / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6467, allocations: 52.56 kB / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.047e-06/0.6467, allocations: 0 / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02645/0.6731, allocations: 9.667 MB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6732, allocations: 69.41 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.6753, allocations: 1.449 MB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.6755, allocations: 53.7 kB / 1.489 GB, free: 9.719 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.6772, allocations: 2.319 MB / 1.491 GB, free: 7.379 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.678, allocations: 0.6701 MB / 1.492 GB, free: 6.703 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.6786, allocations: 404.2 kB / 1.492 GB, free: 6.301 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6788, allocations: 305.1 kB / 1.493 GB, free: 6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.6805, allocations: 1.179 MB / 1.494 GB, free: 4.816 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.6829, allocations: 1.885 MB / 1.495 GB, free: 2.613 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.6875, allocations: 3.367 MB / 1.499 GB, free: 14.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.6875, allocations: 8 kB / 1.499 GB, free: 14.92 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008243/0.6958, allocations: 4.527 MB / 1.503 GB, free: 10.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.6958, allocations: 16 kB / 1.503 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.6959, allocations: 20 kB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/0.6998, allocations: 1.582 MB / 1.505 GB, free: 8.746 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.7012, allocations: 351.3 kB / 1.505 GB, free: 8.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02602/0.7272, allocations: 17.84 MB / 1.523 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.7293, allocations: 115.9 kB / 1.523 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.7295, allocations: 100 kB / 1.523 GB, free: 5.949 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003786/0.7333, allocations: 1.891 MB / 1.525 GB, free: 4.047 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/0.7339, allocations: 222.6 kB / 1.525 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007286/0.7412, allocations: 4.044 MB / 1.529 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.7412, allocations: 16.38 kB / 1.529 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.7412, allocations: 19.94 kB / 1.529 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.7412, allocations: 7.969 kB / 1.529 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.7566, allocations: 7.837 MB / 1.536 GB, free: 7.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.7566, allocations: 4 kB / 1.536 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.7575, allocations: 187.6 kB / 1.537 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/0.761, allocations: 1.357 MB / 1.538 GB, free: 6.195 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.7611, allocations: 36 kB / 1.538 GB, free: 6.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/0.7839, allocations: 16.61 MB / 1.554 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.7839, allocations: 8 kB / 1.554 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/0.791, allocations: 4.024 MB / 1.558 GB, free: 1.027 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.7925, allocations: 454.5 kB / 1.559 GB, free: 0.582 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.7927, allocations: 39.98 kB / 1.559 GB, free: 0.543 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.7936, allocations: 83.91 kB / 1.559 GB, free: 472 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/0.7942, allocations: 173.5 kB / 1.559 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7943, allocations: 52 kB / 1.559 GB, free: 244 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001396/0.7957, allocations: 0.9193 MB / 1.56 GB, free: 15.33 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7957, allocations: 0 / 1.56 GB, free: 15.33 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003362/0.799, allocations: 0.9883 MB / 1.561 GB, free: 14.34 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.7993, allocations: 149 kB / 1.561 GB, free: 14.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.8068, allocations: 4.163 MB / 1.565 GB, free: 9.969 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8068, allocations: 8 kB / 1.565 GB, free: 9.961 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004904/0.8117, allocations: 2.571 MB / 1.568 GB, free: 7.344 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/0.8151, allocations: 0.7677 MB / 1.568 GB, free: 6.605 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.8314, allocations: 8.862 MB / 1.577 GB, free: 13.65 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/0.836, allocations: 3.039 MB / 1.58 GB, free: 10.57 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00141/0.8374, allocations: 447.1 kB / 1.58 GB, free: 10.13 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.8377, allocations: 115.4 kB / 1.58 GB, free: 10.02 MB / 1.279 GB Notification: Performance of SimCode: time 1.012e-06/0.8377, allocations: 11.88 kB / 1.58 GB, free: 10 MB / 1.279 GB Notification: Performance of Templates: time 0.8051/1.643, allocations: 51.14 MB / 1.63 GB, free: 247.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 11.184224079013802]