Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001706/0.001706, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001685/0.001685, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04394/1.132, allocations: 35.13 MB / 1.297 GB, free: 268 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02256/1.154, allocations: 9.946 MB / 1.307 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005722/1.16, allocations: 144.7 kB / 1.307 GB, free: 9.348 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01172/1.172, allocations: 3.8 MB / 1.31 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009042/1.181, allocations: 2.042 MB / 1.312 GB, free: 5.773 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007176/1.188, allocations: 1.959 MB / 1.314 GB, free: 4.656 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01468/1.203, allocations: 7.978 MB / 1.322 GB, free: 1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/1.218, allocations: 9.519 MB / 1.331 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008606/1.227, allocations: 3.374 MB / 1.335 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009587/1.237, allocations: 3.741 MB / 1.338 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003509/1.24, allocations: 0.6788 MB / 1.339 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006885/1.247, allocations: 1.443 MB / 1.34 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006687/1.254, allocations: 2.618 MB / 1.343 GB, free: 8.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01082/1.265, allocations: 3.101 MB / 1.346 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02188/1.287, allocations: 10.41 MB / 1.356 GB, free: 260 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.287, allocations: 0 / 1.356 GB, free: 260 kB / 1.045 GB Notification: Performance of FrontEnd: time 2.505e-06/1.287, allocations: 0 / 1.356 GB, free: 260 kB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004842/1.287, allocations: 0.9375 kB / 1.356 GB, free: 260 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02278/1.31, allocations: 5.541 MB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.31, allocations: 10.03 kB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/1.318, allocations: 0.9804 MB / 1.363 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/1.327, allocations: 3.196 MB / 1.366 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005489/1.328, allocations: 361.8 kB / 1.366 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/1.331, allocations: 472.1 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/1.356, allocations: 7.908 MB / 1.374 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003394/1.357, allocations: 20.25 kB / 1.374 GB, free: 4.652 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/1.359, allocations: 208 kB / 1.374 GB, free: 4.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007717/1.36, allocations: 365.4 kB / 1.375 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.377, allocations: 5.941 MB / 1.381 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0568/1.434, allocations: 36.01 MB / 1.416 GB, free: 7.781 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/1.438, allocations: 2.139 MB / 1.418 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/1.44, allocations: 1.473 MB / 1.419 GB, free: 4.156 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/1.44, allocations: 21.31 kB / 1.419 GB, free: 4.137 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/1.44, allocations: 55.81 kB / 1.419 GB, free: 4.074 MB / 1.107 GB Notification: Performance of pre-optimization done (n=157): time 3.738e-06/1.44, allocations: 0 / 1.419 GB, free: 4.074 MB / 1.107 GB Notification: Performance of matching and sorting (n=160): time 0.0166/1.457, allocations: 7.606 MB / 1.427 GB, free: 12.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.457, allocations: 64.72 kB / 1.427 GB, free: 12.12 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/1.461, allocations: 1.868 MB / 1.429 GB, free: 10.23 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/1.461, allocations: 57.7 kB / 1.429 GB, free: 10.17 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.463, allocations: 2.192 MB / 1.431 GB, free: 7.957 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006907/1.463, allocations: 0.5771 MB / 1.431 GB, free: 7.375 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008076/1.464, allocations: 404 kB / 1.432 GB, free: 6.973 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.464, allocations: 305.1 kB / 1.432 GB, free: 6.672 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/1.466, allocations: 1.058 MB / 1.433 GB, free: 5.609 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/1.469, allocations: 1.76 MB / 1.435 GB, free: 3.527 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/1.473, allocations: 3.052 MB / 1.438 GB, free: 164 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/1.473, allocations: 8 kB / 1.438 GB, free: 156 kB / 1.123 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007604/1.481, allocations: 3.937 MB / 1.442 GB, free: 12.17 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/1.481, allocations: 16.94 kB / 1.442 GB, free: 12.15 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/1.481, allocations: 20 kB / 1.442 GB, free: 12.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/1.484, allocations: 0.935 MB / 1.443 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.485, allocations: 439.2 kB / 1.443 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/1.511, allocations: 22.76 MB / 1.465 GB, free: 2.289 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.513, allocations: 128 kB / 1.465 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005114/1.514, allocations: 95.98 kB / 1.466 GB, free: 2.07 MB / 1.154 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.004066/1.518, allocations: 1.648 MB / 1.467 GB, free: 420 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008494/1.519, allocations: 262.4 kB / 1.467 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/1.526, allocations: 3.26 MB / 1.471 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.526, allocations: 20 kB / 1.471 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.762e-05/1.526, allocations: 15.92 kB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/1.526, allocations: 11.97 kB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.543, allocations: 7.552 MB / 1.478 GB, free: 5.094 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.543, allocations: 4 kB / 1.478 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.544, allocations: 219.6 kB / 1.478 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.547, allocations: 0.9009 MB / 1.479 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/1.547, allocations: 28 kB / 1.479 GB, free: 3.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02475/1.572, allocations: 22.74 MB / 1.501 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.572, allocations: 7.938 kB / 1.501 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006986/1.579, allocations: 3.396 MB / 1.505 GB, free: 7.977 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.58, allocations: 0.5345 MB / 1.505 GB, free: 7.422 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/1.581, allocations: 32 kB / 1.505 GB, free: 7.391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.583, allocations: 99.81 kB / 1.505 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/1.584, allocations: 145 kB / 1.505 GB, free: 7.152 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.584, allocations: 40 kB / 1.505 GB, free: 7.113 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002436/1.586, allocations: 1.229 MB / 1.507 GB, free: 5.871 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/1.586, allocations: 4 kB / 1.507 GB, free: 5.867 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004194/1.59, allocations: 0.9062 MB / 1.508 GB, free: 4.961 MB / 1.201 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003824/1.591, allocations: 155 kB / 1.508 GB, free: 4.801 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007658/1.598, allocations: 4.44 MB / 1.512 GB, free: 212 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.598, allocations: 0 / 1.512 GB, free: 212 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.603, allocations: 3.007 MB / 1.515 GB, free: 13.04 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/1.608, allocations: 0.8202 MB / 1.516 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.628, allocations: 8.351 MB / 1.524 GB, free: 3.773 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005767/1.633, allocations: 3.287 MB / 1.527 GB, free: 468 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/1.634, allocations: 151.4 kB / 1.527 GB, free: 316 kB / 1.217 GB Notification: Performance of SimCode: time 1.643e-06/1.634, allocations: 0 / 1.527 GB, free: 316 kB / 1.217 GB Notification: Performance of Templates: time 1.141/2.775, allocations: 339.9 MB / 1.859 GB, free: 0.5041 GB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.91216796799563]