Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001427/0.001427, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001649/0.001649, allocations: 216.1 kB / 23 MB, free: 4.969 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.252/3.252, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [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.002078/0.002078, allocations: 60.81 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04152/0.4201, allocations: 29.29 MB / 1.356 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.4456, allocations: 13.2 MB / 1.369 GB, free: 6.398 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.4492, allocations: 198.4 kB / 1.369 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009383/0.4586, allocations: 3.207 MB / 1.372 GB, free: 2.988 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008616/0.4672, allocations: 2.755 MB / 1.375 GB, free: 224 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.4727, allocations: 2.022 MB / 1.377 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.4837, allocations: 7.626 MB / 1.384 GB, free: 6.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007901/0.4916, allocations: 4.643 MB / 1.389 GB, free: 1.781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.4985, allocations: 3.662 MB / 1.392 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006093/0.5046, allocations: 3.512 MB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.5061, allocations: 0.5898 MB / 1.396 GB, free: 9.996 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.51, allocations: 1.4 MB / 1.398 GB, free: 8.594 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003172/0.5132, allocations: 2.416 MB / 1.4 GB, free: 6.172 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004692/0.5179, allocations: 2.33 MB / 1.402 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.5343, allocations: 9.512 MB / 1.411 GB, free: 10.29 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5343, allocations: 0 / 1.411 GB, free: 10.29 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5343, allocations: 0 / 1.411 GB, free: 10.29 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003273/0.5346, allocations: 0 / 1.411 GB, free: 10.29 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01482/0.5494, allocations: 5.183 MB / 1.416 GB, free: 5.039 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.5495, allocations: 8.031 kB / 1.416 GB, free: 5.031 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006854/0.5563, allocations: 1.016 MB / 1.417 GB, free: 4.012 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00792/0.5643, allocations: 3.013 MB / 1.42 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.5646, allocations: 320.8 kB / 1.421 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.5659, allocations: 420 kB / 1.421 GB, free: 184 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.582, allocations: 7.358 MB / 1.428 GB, free: 8.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.5821, allocations: 27.81 kB / 1.428 GB, free: 8.367 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005335/0.5826, allocations: 184 kB / 1.429 GB, free: 8.188 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00088/0.5835, allocations: 372 kB / 1.429 GB, free: 7.82 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00955/0.5931, allocations: 5.106 MB / 1.434 GB, free: 2.695 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.624, allocations: 19.05 MB / 1.452 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.6262, allocations: 1.301 MB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.628, allocations: 1.246 MB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.241e-05/0.628, allocations: 13.31 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.6281, allocations: 55.81 kB / 1.455 GB, free: 12.49 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 4.298e-06/0.6281, allocations: 0 / 1.455 GB, free: 12.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.0911/0.7192, allocations: 22.83 MB / 1.477 GB, free: 5.598 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.7193, allocations: 73.34 kB / 1.477 GB, free: 5.512 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.7223, allocations: 1.845 MB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.7226, allocations: 65.7 kB / 1.479 GB, free: 3.566 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.7241, allocations: 2.069 MB / 1.481 GB, free: 1.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007404/0.7249, allocations: 0.7087 MB / 1.482 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007674/0.7257, allocations: 412.4 kB / 1.482 GB, free: 364 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7258, allocations: 309.1 kB / 1.483 GB, free: 52 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.728, allocations: 1.43 MB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.7308, allocations: 2.013 MB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.7365, allocations: 3.696 MB / 1.49 GB, free: 8.418 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.7365, allocations: 4 kB / 1.49 GB, free: 8.414 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01232/0.7488, allocations: 5.58 MB / 1.495 GB, free: 2.766 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.7489, allocations: 12 kB / 1.495 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.7489, allocations: 16.84 kB / 1.495 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007862/0.7568, allocations: 2.075 MB / 1.497 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.7585, allocations: 379.4 kB / 1.497 GB, free: 244 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04242/0.8009, allocations: 35.88 MB / 1.533 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.8034, allocations: 131.9 kB / 1.533 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.8037, allocations: 92 kB / 1.533 GB, free: 10.29 MB / 1.232 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002759/0.8064, allocations: 1.505 MB / 1.534 GB, free: 8.773 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.807, allocations: 278.2 kB / 1.534 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.8179, allocations: 5.13 MB / 1.539 GB, free: 3.297 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/0.8179, allocations: 7.969 kB / 1.54 GB, free: 3.289 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8179, allocations: 0 / 1.54 GB, free: 3.289 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/0.8202, allocations: 0.5411 MB / 1.54 GB, free: 2.746 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000625/0.8208, allocations: 47.89 kB / 1.54 GB, free: 2.699 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.8222, allocations: 95.88 kB / 1.54 GB, free: 2.605 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/0.8227, allocations: 233.7 kB / 1.54 GB, free: 2.375 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01259/0.8353, allocations: 5.412 MB / 1.546 GB, free: 12.9 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00735/0.8426, allocations: 5.033 MB / 1.551 GB, free: 7.844 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002093/0.8447, allocations: 1.495 MB / 1.552 GB, free: 6.352 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001987/0.8467, allocations: 1.204 MB / 1.553 GB, free: 5.133 MB / 1.248 GB Notification: Performance of Backend: time 2.61e-07/0.8467, allocations: 0 / 1.553 GB, free: 5.133 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01139/0.8581, allocations: 5.419 MB / 1.559 GB, free: 15.47 MB / 1.264 GB Notification: Performance of SimCode: time 0.01878/0.8769, allocations: 9.214 MB / 1.568 GB, free: 6.254 MB / 1.264 GB Notification: Performance of Templates: time 0.9019/1.779, allocations: 71.72 MB / 1.638 GB, free: 246.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.912548132997472]