Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009357/0.0009357, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0009423/0.0009423, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8956/0.8956, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.621e-05, allocations: 9.797 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02423/0.02426, allocations: 33.01 MB / 0.984 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.03809, allocations: 11.38 MB / 0.9951 GB, free: 6.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.04009, allocations: 210.4 kB / 0.9953 GB, free: 6.223 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.04497, allocations: 4.266 MB / 0.9995 GB, free: 1.945 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.04857, allocations: 2.152 MB / 1.002 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.05235, allocations: 2.425 MB / 1.004 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005869/0.05822, allocations: 8.618 MB / 1.012 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00554/0.06376, allocations: 6.191 MB / 1.018 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.06852, allocations: 5.395 MB / 1.024 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.07175, allocations: 3.909 MB / 1.027 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.07231, allocations: 0.7773 MB / 1.028 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.07469, allocations: 1.922 MB / 1.03 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.07651, allocations: 3.274 MB / 1.033 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.07813, allocations: 2.37 MB / 1.036 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007359/0.08549, allocations: 12.24 MB / 1.048 GB, free: 448 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0855, allocations: 3.938 kB / 1.048 GB, free: 444 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.0855, allocations: 0 / 1.048 GB, free: 444 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.737e-05/0.08559, allocations: 0 / 1.048 GB, free: 444 kB / 0.9948 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.4978/0.5834, allocations: 5.804 MB / 1.053 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5834, allocations: 8.719 kB / 1.053 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.5864, allocations: 1.097 MB / 1.054 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.59, allocations: 3.422 MB / 1.058 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.5902, allocations: 414 kB / 1.058 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.5907, allocations: 0.5347 MB / 1.059 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008509/0.5992, allocations: 9.379 MB / 1.068 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/0.5993, allocations: 32.02 kB / 1.068 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/0.5996, allocations: 241.1 kB / 1.068 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.5998, allocations: 347.4 kB / 1.068 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006886/0.6067, allocations: 6.824 MB / 1.075 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.6282, allocations: 24.21 MB / 1.099 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.6313, allocations: 2.298 MB / 1.101 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.6337, allocations: 1.779 MB / 1.103 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-05/0.6338, allocations: 22.78 kB / 1.103 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.6338, allocations: 52.09 kB / 1.103 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 4.278e-06/0.6338, allocations: 1.5 kB / 1.103 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.01708/0.6509, allocations: 9.681 MB / 1.112 GB, free: 96.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.651, allocations: 71.31 kB / 1.112 GB, free: 96.51 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.6527, allocations: 1.443 MB / 1.114 GB, free: 95.95 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.6527, allocations: 55.58 kB / 1.114 GB, free: 95.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009956/0.6537, allocations: 2.312 MB / 1.116 GB, free: 94.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.6541, allocations: 0.6504 MB / 1.117 GB, free: 93.64 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004997/0.6546, allocations: 407.4 kB / 1.117 GB, free: 93.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.6547, allocations: 306.6 kB / 1.117 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.6563, allocations: 1.179 MB / 1.118 GB, free: 92.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.6582, allocations: 1.885 MB / 1.12 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.6617, allocations: 3.369 MB / 1.124 GB, free: 89.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.6617, allocations: 6.531 kB / 1.124 GB, free: 89.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00567/0.6674, allocations: 4.526 MB / 1.128 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6674, allocations: 14.12 kB / 1.128 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.6675, allocations: 23.8 kB / 1.128 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/0.6701, allocations: 1.588 MB / 1.13 GB, free: 87.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.6708, allocations: 354.2 kB / 1.13 GB, free: 87.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.6865, allocations: 17.81 MB / 1.147 GB, free: 76.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6879, allocations: 117.5 kB / 1.147 GB, free: 76.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.688, allocations: 95.81 kB / 1.147 GB, free: 76.55 MB / 0.9948 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.002984/0.691, allocations: 1.892 MB / 1.149 GB, free: 75.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.6912, allocations: 238 kB / 1.15 GB, free: 74.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.6947, allocations: 4.037 MB / 1.154 GB, free: 71.14 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6947, allocations: 16 kB / 1.154 GB, free: 71.13 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/0.6947, allocations: 23.94 kB / 1.154 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.6948, allocations: 8.344 kB / 1.154 GB, free: 71.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.7026, allocations: 7.838 MB / 1.161 GB, free: 63.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7026, allocations: 11.98 kB / 1.161 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.703, allocations: 183.7 kB / 1.161 GB, free: 62.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.7046, allocations: 1.344 MB / 1.163 GB, free: 61.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.7047, allocations: 39.98 kB / 1.163 GB, free: 61.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.7152, allocations: 16.6 MB / 1.179 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7152, allocations: 4 kB / 1.179 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.7188, allocations: 4.016 MB / 1.183 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.7195, allocations: 454.5 kB / 1.183 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.7196, allocations: 39.98 kB / 1.183 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.7201, allocations: 87.89 kB / 1.183 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.7204, allocations: 165.6 kB / 1.184 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.7204, allocations: 51.98 kB / 1.184 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007298/0.7212, allocations: 0.9242 MB / 1.185 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7212, allocations: 4 kB / 1.185 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002476/0.7236, allocations: 0.9805 MB / 1.186 GB, free: 37.8 MB / 0.9948 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.0001999/0.7238, allocations: 143 kB / 1.186 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003561/0.7274, allocations: 4.164 MB / 1.19 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7274, allocations: 1 kB / 1.19 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.7293, allocations: 2.58 MB / 1.192 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.7309, allocations: 0.7664 MB / 1.193 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.7404, allocations: 9.625 MB / 1.202 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.7427, allocations: 3.129 MB / 1.205 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7429, allocations: 128.5 kB / 1.206 GB, free: 17.07 MB / 0.9948 GB Notification: Performance of SimCode: time 1.282e-06/0.7429, allocations: 0 / 1.206 GB, free: 17.07 MB / 0.9948 GB Notification: Performance of Templates: time 0.1075/0.8504, allocations: 161.2 MB / 1.363 GB, free: 15.86 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.46960471291095]