Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 191.4 kB / 22.11 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 495.8 MB / 0.783 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.17 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04368/0.4124, allocations: 34.02 MB / 1.34 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4317, allocations: 10.61 MB / 1.35 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.4351, allocations: 198.5 kB / 1.351 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.4456, allocations: 3.896 MB / 1.354 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006282/0.4519, allocations: 1.96 MB / 1.356 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.4582, allocations: 2.185 MB / 1.358 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.4687, allocations: 7.327 MB / 1.366 GB, free: 5.438 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008378/0.4771, allocations: 4.828 MB / 1.37 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.4833, allocations: 3.268 MB / 1.373 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006733/0.4901, allocations: 3.676 MB / 1.377 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.492, allocations: 0.6445 MB / 1.378 GB, free: 8.887 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.4964, allocations: 1.661 MB / 1.379 GB, free: 7.223 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003876/0.5002, allocations: 2.607 MB / 1.382 GB, free: 4.609 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005283/0.5055, allocations: 2.902 MB / 1.385 GB, free: 1.695 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.519, allocations: 10.13 MB / 1.395 GB, free: 7.535 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.519, allocations: 7.938 kB / 1.395 GB, free: 7.527 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.094e-06/0.519, allocations: 0 / 1.395 GB, free: 7.527 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003018/0.5193, allocations: 0 / 1.395 GB, free: 7.527 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01269/0.532, allocations: 5.041 MB / 1.399 GB, free: 2.426 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5321, allocations: 15.95 kB / 1.4 GB, free: 2.41 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.5379, allocations: 0.9774 MB / 1.4 GB, free: 1.43 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007348/0.5452, allocations: 2.995 MB / 1.403 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.5456, allocations: 349.7 kB / 1.404 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.547, allocations: 460.3 kB / 1.404 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.5633, allocations: 7.671 MB / 1.412 GB, free: 5.551 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/0.5635, allocations: 31.77 kB / 1.412 GB, free: 5.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00062/0.5641, allocations: 200 kB / 1.412 GB, free: 5.324 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003787/0.5645, allocations: 313 kB / 1.412 GB, free: 5.016 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.5762, allocations: 5.71 MB / 1.418 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04084/0.6171, allocations: 34.44 MB / 1.451 GB, free: 9.629 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.6198, allocations: 1.554 MB / 1.453 GB, free: 8.07 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.6215, allocations: 1.124 MB / 1.454 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.6216, allocations: 13.31 kB / 1.454 GB, free: 6.926 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.6216, allocations: 55.81 kB / 1.454 GB, free: 6.863 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.476e-06/0.6216, allocations: 4 kB / 1.454 GB, free: 6.859 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01443/0.636, allocations: 6.211 MB / 1.46 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.6361, allocations: 72.7 kB / 1.46 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.6384, allocations: 1.48 MB / 1.462 GB, free: 15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.6385, allocations: 45.7 kB / 1.462 GB, free: 14.95 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.64, allocations: 2.077 MB / 1.464 GB, free: 12.85 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004896/0.6405, allocations: 0.4957 MB / 1.464 GB, free: 12.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005449/0.6411, allocations: 351.4 kB / 1.465 GB, free: 12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6412, allocations: 305.1 kB / 1.465 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.6426, allocations: 0.9135 MB / 1.466 GB, free: 10.78 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.6444, allocations: 1.589 MB / 1.467 GB, free: 8.883 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.648, allocations: 2.737 MB / 1.47 GB, free: 5.832 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.648, allocations: 8 kB / 1.47 GB, free: 5.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006573/0.6546, allocations: 3.512 MB / 1.473 GB, free: 2.266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.6547, allocations: 12 kB / 1.473 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.6547, allocations: 24 kB / 1.473 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.6575, allocations: 0.9077 MB / 1.474 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6588, allocations: 347.4 kB / 1.475 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.682, allocations: 21.89 MB / 1.496 GB, free: 9.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.6837, allocations: 103.9 kB / 1.496 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.684, allocations: 83.98 kB / 1.496 GB, free: 9.504 MB / 1.201 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002918/0.6869, allocations: 1.613 MB / 1.498 GB, free: 7.879 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.6874, allocations: 218.6 kB / 1.498 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.693, allocations: 2.959 MB / 1.501 GB, free: 4.656 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.693, allocations: 12 kB / 1.501 GB, free: 4.645 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.693, allocations: 8 kB / 1.501 GB, free: 4.637 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.693, allocations: 7.969 kB / 1.501 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.7057, allocations: 7.296 MB / 1.508 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.7057, allocations: 4.562 kB / 1.508 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.7065, allocations: 175.7 kB / 1.508 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.7091, allocations: 0.8179 MB / 1.509 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/0.7092, allocations: 28 kB / 1.509 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/0.7307, allocations: 20.73 MB / 1.529 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.7307, allocations: 11.92 kB / 1.529 GB, free: 5.914 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.7365, allocations: 3.003 MB / 1.532 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.7376, allocations: 402.4 kB / 1.533 GB, free: 2.406 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.7379, allocations: 27.94 kB / 1.533 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.7387, allocations: 75.91 kB / 1.533 GB, free: 2.305 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.7391, allocations: 132.6 kB / 1.533 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.7392, allocations: 39.94 kB / 1.533 GB, free: 2.137 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00138/0.7405, allocations: 0.9795 MB / 1.534 GB, free: 1.133 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7405, allocations: 0 / 1.534 GB, free: 1.133 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002687/0.7432, allocations: 0.7852 MB / 1.535 GB, free: 356 kB / 1.232 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.7435, allocations: 144.6 kB / 1.535 GB, free: 204 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006281/0.7498, allocations: 3.918 MB / 1.539 GB, free: 12.12 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7498, allocations: 0 / 1.539 GB, free: 12.12 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.7538, allocations: 2.666 MB / 1.541 GB, free: 9.301 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.757, allocations: 0.7329 MB / 1.542 GB, free: 8.594 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7702, allocations: 7.346 MB / 1.549 GB, free: 1.156 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.7739, allocations: 3.117 MB / 1.552 GB, free: 14.01 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00142/0.7753, allocations: 457.9 kB / 1.553 GB, free: 13.56 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.7756, allocations: 115.4 kB / 1.553 GB, free: 13.45 MB / 1.264 GB Notification: Performance of SimCode: time 1.874e-06/0.7756, allocations: 0 / 1.553 GB, free: 13.45 MB / 1.264 GB Notification: Performance of Templates: time 0.07305/0.8487, allocations: 37.92 MB / 1.59 GB, free: 7.938 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 10.296219338662922]