Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002296/0.002296, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002835/0.002835, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.659e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.06803/0.06806, allocations: 35.14 MB / 0.9118 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.09118, allocations: 11.77 MB / 0.9233 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.09403, allocations: 206.5 kB / 0.9235 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.1066, allocations: 4.391 MB / 0.9278 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.1127, allocations: 2.148 MB / 0.9299 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006644/0.1194, allocations: 2.439 MB / 0.9322 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01239/0.1318, allocations: 8.603 MB / 0.9406 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.1455, allocations: 6.205 MB / 0.9467 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.1569, allocations: 5.458 MB / 0.952 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008015/0.1649, allocations: 4.19 MB / 0.9561 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.1668, allocations: 0.7812 MB / 0.9569 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/0.1714, allocations: 1.93 MB / 0.9588 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004604/0.176, allocations: 3.329 MB / 0.962 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005154/0.1812, allocations: 2.409 MB / 0.9644 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.198, allocations: 12.31 MB / 0.9764 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.198, allocations: 0 / 0.9764 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.754e-06/0.198, allocations: 0 / 0.9764 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003497/0.1984, allocations: 0 / 0.9764 GB, free: 0.9297 MB / 0.9323 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.01769/0.2161, allocations: 6.731 MB / 0.983 GB, free: 10.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2161, allocations: 8.031 kB / 0.983 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008778/0.2249, allocations: 1.768 MB / 0.9847 GB, free: 8.344 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009692/0.2346, allocations: 3.35 MB / 0.988 GB, free: 4.926 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/0.235, allocations: 415.5 kB / 0.9884 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.2367, allocations: 0.5471 MB / 0.9889 GB, free: 3.973 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.252, allocations: 6.109 MB / 0.9949 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.2522, allocations: 27.97 kB / 0.9949 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006731/0.2529, allocations: 236.3 kB / 0.9951 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004592/0.2533, allocations: 358.7 kB / 0.9955 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.2616, allocations: 2.255 MB / 0.9977 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/0.3129, allocations: 33.54 MB / 1.03 GB, free: 7.945 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.3157, allocations: 1.291 MB / 1.032 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.3176, allocations: 0.9078 MB / 1.033 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3178, allocations: 30 kB / 1.033 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.3178, allocations: 59.31 kB / 1.033 GB, free: 5.664 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 4.178e-06/0.3178, allocations: 0 / 1.033 GB, free: 5.664 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.02389/0.3417, allocations: 6.59 MB / 1.039 GB, free: 15.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3418, allocations: 77.41 kB / 1.039 GB, free: 14.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.3447, allocations: 1.905 MB / 1.041 GB, free: 13.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3449, allocations: 53.7 kB / 1.041 GB, free: 12.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.347, allocations: 2.467 MB / 1.043 GB, free: 10.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008357/0.3478, allocations: 0.7327 MB / 1.044 GB, free: 9.766 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.3487, allocations: 0.4903 MB / 1.045 GB, free: 9.266 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.3489, allocations: 476.8 kB / 1.045 GB, free: 8.797 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.35, allocations: 492.2 kB / 1.046 GB, free: 8.312 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.3524, allocations: 1.575 MB / 1.047 GB, free: 6.305 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.3561, allocations: 2.307 MB / 1.049 GB, free: 3.574 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.3561, allocations: 7.938 kB / 1.049 GB, free: 3.566 MB / 1.01 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006917/0.363, allocations: 2.918 MB / 1.052 GB, free: 0.6211 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.363, allocations: 19.94 kB / 1.052 GB, free: 0.6016 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.3631, allocations: 23.94 kB / 1.052 GB, free: 0.5781 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3801/0.7431, allocations: 1.338 MB / 1.054 GB, free: 190.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7444, allocations: 352.2 kB / 1.054 GB, free: 190.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.7594, allocations: 13.74 MB / 1.067 GB, free: 183.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.7611, allocations: 115.7 kB / 1.067 GB, free: 183.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.7613, allocations: 99.78 kB / 1.068 GB, free: 183.7 MB / 1.01 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.001309/0.7626, allocations: 430.2 kB / 1.068 GB, free: 183.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.763, allocations: 281.4 kB / 1.068 GB, free: 183.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.7679, allocations: 2.329 MB / 1.071 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.7679, allocations: 20.28 kB / 1.071 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/0.7679, allocations: 16.81 kB / 1.071 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.7679, allocations: 9.984 kB / 1.071 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.7813, allocations: 7.654 MB / 1.078 GB, free: 180.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.7813, allocations: 2.625 kB / 1.078 GB, free: 180.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.7821, allocations: 186.4 kB / 1.078 GB, free: 180.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/0.7857, allocations: 1.121 MB / 1.079 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.7858, allocations: 35.48 kB / 1.079 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/0.8002, allocations: 12.89 MB / 1.092 GB, free: 170.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.8002, allocations: 8.719 kB / 1.092 GB, free: 170.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/0.8055, allocations: 2.613 MB / 1.094 GB, free: 169.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.8068, allocations: 436.8 kB / 1.095 GB, free: 169.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.8071, allocations: 35.22 kB / 1.095 GB, free: 169.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009543/0.808, allocations: 95.75 kB / 1.095 GB, free: 169.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/0.8085, allocations: 170.7 kB / 1.095 GB, free: 169.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.8086, allocations: 47.91 kB / 1.095 GB, free: 169.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001279/0.8099, allocations: 1.054 MB / 1.096 GB, free: 168.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8099, allocations: 0 / 1.096 GB, free: 168.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003165/0.813, allocations: 0.9966 MB / 1.097 GB, free: 168.6 MB / 1.01 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.0002425/0.8133, allocations: 141.4 kB / 1.097 GB, free: 168.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.8187, allocations: 3.289 MB / 1.101 GB, free: 166.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8187, allocations: 0 / 1.101 GB, free: 166.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003676/0.8224, allocations: 2.36 MB / 1.103 GB, free: 165.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.8257, allocations: 0.7632 MB / 1.104 GB, free: 165.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8384, allocations: 7.969 MB / 1.111 GB, free: 161.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003585/0.842, allocations: 2.699 MB / 1.114 GB, free: 160.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001295/0.8433, allocations: 380.4 kB / 1.114 GB, free: 160.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.8436, allocations: 118.1 kB / 1.115 GB, free: 160.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.733e-06/0.8436, allocations: 0 / 1.115 GB, free: 160.4 MB / 1.01 GB Notification: Performance of Templates: time 0.06536/0.909, allocations: 44.97 MB / 1.158 GB, free: 141 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.26369394408539]