Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001942/0.001942, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.00251/0.00251, allocations: 169.5 kB / 22.46 MB, free: 5.355 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.05e-05, allocations: 4.953 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.06405/0.06408, allocations: 31.1 MB / 1.012 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.09373, allocations: 14.29 MB / 1.026 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.09702, allocations: 210.4 kB / 1.026 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.1074, allocations: 3.682 MB / 1.03 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00873/0.1161, allocations: 3.07 MB / 1.033 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.1229, allocations: 2.365 MB / 1.035 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.1365, allocations: 9.001 MB / 1.044 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.1465, allocations: 5.511 MB / 1.049 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.1576, allocations: 5.672 MB / 1.055 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006971/0.1646, allocations: 3.67 MB / 1.058 GB, free: 13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.1662, allocations: 0.7148 MB / 1.059 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.1702, allocations: 1.63 MB / 1.06 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.174, allocations: 3.02 MB / 1.063 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004463/0.1784, allocations: 2.362 MB / 1.066 GB, free: 5.262 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.1933, allocations: 11.37 MB / 1.077 GB, free: 9.859 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1933, allocations: 0 / 1.077 GB, free: 9.859 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1933, allocations: 0 / 1.077 GB, free: 9.859 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003018/0.1936, allocations: 0 / 1.077 GB, free: 9.859 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01402/0.2076, allocations: 5.99 MB / 1.083 GB, free: 3.805 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2076, allocations: 12.03 kB / 1.083 GB, free: 3.793 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007218/0.2149, allocations: 1.176 MB / 1.084 GB, free: 2.613 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008302/0.2232, allocations: 3.457 MB / 1.087 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.2235, allocations: 370.4 kB / 1.088 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.2248, allocations: 0.4886 MB / 1.088 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.2415, allocations: 8.698 MB / 1.097 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.2416, allocations: 27.75 kB / 1.097 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007041/0.2423, allocations: 216 kB / 1.097 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/0.2436, allocations: 437.6 kB / 1.097 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.2564, allocations: 6.077 MB / 1.103 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.293, allocations: 21.19 MB / 1.124 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.2961, allocations: 1.909 MB / 1.126 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.2988, allocations: 1.741 MB / 1.127 GB, free: 4.988 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.2989, allocations: 18 kB / 1.127 GB, free: 4.969 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.2989, allocations: 56.56 kB / 1.127 GB, free: 4.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=171): time 4.038e-06/0.2989, allocations: 4 kB / 1.127 GB, free: 4.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=276): time 0.575/0.874, allocations: 38.68 MB / 1.165 GB, free: 173.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.874, allocations: 81.14 kB / 1.165 GB, free: 173.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.8769, allocations: 2.036 MB / 1.167 GB, free: 172.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000337/0.8773, allocations: 73.55 kB / 1.167 GB, free: 172.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.8785, allocations: 2.348 MB / 1.17 GB, free: 170.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.8793, allocations: 0.9647 MB / 1.171 GB, free: 170.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009259/0.8802, allocations: 0.5021 MB / 1.171 GB, free: 169.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.8803, allocations: 311.3 kB / 1.171 GB, free: 169.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.883, allocations: 1.972 MB / 1.173 GB, free: 168.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.8861, allocations: 2.598 MB / 1.176 GB, free: 167.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006167/0.8922, allocations: 4.933 MB / 1.181 GB, free: 164.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.8923, allocations: 4.594 kB / 1.181 GB, free: 164.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01462/0.9069, allocations: 7.624 MB / 1.188 GB, free: 161.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.9069, allocations: 12.78 kB / 1.188 GB, free: 161.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.9069, allocations: 17.72 kB / 1.188 GB, free: 161.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009721/0.9167, allocations: 3.206 MB / 1.191 GB, free: 160.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.9184, allocations: 411.4 kB / 1.192 GB, free: 160.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03764/0.9561, allocations: 32.54 MB / 1.223 GB, free: 138.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/0.9593, allocations: 163.8 kB / 1.224 GB, free: 138 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.9596, allocations: 108.9 kB / 1.224 GB, free: 137.8 MB / 1.076 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002659/0.9623, allocations: 1.801 MB / 1.225 GB, free: 136 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.9629, allocations: 318.1 kB / 1.226 GB, free: 135.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.9747, allocations: 7.225 MB / 1.233 GB, free: 128.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.9747, allocations: 28 kB / 1.233 GB, free: 128.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-05/0.9748, allocations: 35.06 kB / 1.233 GB, free: 128.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/0.9748, allocations: 15.94 kB / 1.233 GB, free: 128.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.9942, allocations: 11.4 MB / 1.244 GB, free: 116.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.9942, allocations: 4 kB / 1.244 GB, free: 116.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.9951, allocations: 235.6 kB / 1.244 GB, free: 116.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/1.003, allocations: 2.854 MB / 1.247 GB, free: 113.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/1.003, allocations: 52 kB / 1.247 GB, free: 113.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03381/1.037, allocations: 31.35 MB / 1.278 GB, free: 81.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.037, allocations: 8 kB / 1.278 GB, free: 81.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.047, allocations: 6.742 MB / 1.284 GB, free: 74.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.049, allocations: 0.6916 MB / 1.285 GB, free: 74.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/1.049, allocations: 61.3 kB / 1.285 GB, free: 74.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.051, allocations: 163.8 kB / 1.285 GB, free: 73.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007728/1.052, allocations: 273.2 kB / 1.285 GB, free: 73.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/1.052, allocations: 72 kB / 1.286 GB, free: 73.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001522/1.053, allocations: 1.33 MB / 1.287 GB, free: 72.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.053, allocations: 0 / 1.287 GB, free: 72.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003806/1.057, allocations: 1.363 MB / 1.288 GB, free: 70.83 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/1.058, allocations: 184.1 kB / 1.288 GB, free: 70.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009494/1.067, allocations: 6.545 MB / 1.295 GB, free: 64.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.067, allocations: 4 kB / 1.295 GB, free: 64.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006269/1.073, allocations: 4.25 MB / 1.299 GB, free: 59.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004082/1.077, allocations: 1.002 MB / 1.3 GB, free: 58.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.092, allocations: 10.33 MB / 1.31 GB, free: 48.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.094, allocations: 3.111 MB / 1.313 GB, free: 45.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001679/1.096, allocations: 0.5298 MB / 1.313 GB, free: 44.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/1.097, allocations: 148.5 kB / 1.314 GB, free: 44.54 MB / 1.076 GB Notification: Performance of SimCode: time 1.493e-06/1.097, allocations: 0 / 1.314 GB, free: 44.54 MB / 1.076 GB Notification: Performance of Templates: time 0.1121/1.209, allocations: 75.28 MB / 1.387 GB, free: 2.672 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 11.119850642979145]