Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0017/0.0017, allocations: 79.78 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.002007/0.002007, allocations: 166.8 kB / 22.46 MB, free: 5.359 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.592/1.592, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.836/2.836, allocations: 377.8 MB / 0.6221 GB, free: 12.6 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_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.863e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03974/0.03977, allocations: 30.83 MB / 1.012 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.0583, allocations: 10.14 MB / 1.021 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.06138, allocations: 202.4 kB / 1.022 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.07146, allocations: 3.738 MB / 1.025 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006072/0.07753, allocations: 2 MB / 1.027 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.08344, allocations: 2.157 MB / 1.029 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.09354, allocations: 7.465 MB / 1.037 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00803/0.1016, allocations: 5.109 MB / 1.042 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008078/0.1096, allocations: 4.6 MB / 1.046 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00561/0.1153, allocations: 3.238 MB / 1.049 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.1167, allocations: 0.6445 MB / 1.05 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.1206, allocations: 1.676 MB / 1.052 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003406/0.124, allocations: 2.732 MB / 1.054 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003501/0.1275, allocations: 2.012 MB / 1.056 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.1411, allocations: 10.31 MB / 1.066 GB, free: 4.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1411, allocations: 0 / 1.066 GB, free: 4.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1411, allocations: 0 / 1.066 GB, free: 4.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002938/0.1414, allocations: 0 / 1.066 GB, free: 4.773 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01361/0.155, allocations: 4.998 MB / 1.071 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1551, allocations: 11.97 kB / 1.071 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.1614, allocations: 0.9891 MB / 1.072 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/0.1687, allocations: 2.998 MB / 1.075 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.169, allocations: 349.7 kB / 1.075 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.1708, allocations: 472.3 kB / 1.076 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.188, allocations: 7.968 MB / 1.084 GB, free: 2.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.1882, allocations: 27.95 kB / 1.084 GB, free: 2.426 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006598/0.1888, allocations: 200.3 kB / 1.084 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004221/0.1892, allocations: 316.9 kB / 1.084 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.2015, allocations: 5.706 MB / 1.09 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03612/0.2376, allocations: 21.88 MB / 1.111 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.2404, allocations: 1.556 MB / 1.113 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.2421, allocations: 1.116 MB / 1.114 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.2422, allocations: 17.31 kB / 1.114 GB, free: 2.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.2423, allocations: 51.81 kB / 1.114 GB, free: 2.918 MB / 1.061 GB Notification: Performance of pre-optimization done (n=133): time 4.448e-06/0.2423, allocations: 4 kB / 1.114 GB, free: 2.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=136): time 0.01468/0.2569, allocations: 6.191 MB / 1.12 GB, free: 12.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.257, allocations: 64.72 kB / 1.12 GB, free: 12.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.259, allocations: 1.403 MB / 1.121 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.2591, allocations: 45.7 kB / 1.121 GB, free: 11.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.2605, allocations: 2.053 MB / 1.123 GB, free: 9.078 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.261, allocations: 0.4996 MB / 1.124 GB, free: 8.574 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.2616, allocations: 347.3 kB / 1.124 GB, free: 8.227 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2617, allocations: 305.1 kB / 1.124 GB, free: 7.926 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.2631, allocations: 0.9135 MB / 1.125 GB, free: 7.012 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.265, allocations: 1.597 MB / 1.127 GB, free: 5.105 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.2686, allocations: 2.733 MB / 1.13 GB, free: 2.062 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.2687, allocations: 4 kB / 1.13 GB, free: 2.059 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.5132/0.7818, allocations: 3.505 MB / 1.133 GB, free: 175.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.7819, allocations: 14.88 kB / 1.133 GB, free: 175.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.7819, allocations: 20.28 kB / 1.133 GB, free: 175.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.7843, allocations: 0.8998 MB / 1.134 GB, free: 175.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7854, allocations: 349.6 kB / 1.134 GB, free: 175.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.8002, allocations: 21.45 MB / 1.155 GB, free: 158.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8017, allocations: 104.2 kB / 1.155 GB, free: 158.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8019, allocations: 85.62 kB / 1.155 GB, free: 158.4 MB / 1.076 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.001999/0.8039, allocations: 1.614 MB / 1.157 GB, free: 157.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.8042, allocations: 205.4 kB / 1.157 GB, free: 157.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.8087, allocations: 2.96 MB / 1.16 GB, free: 156.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.8087, allocations: 14.91 kB / 1.16 GB, free: 156.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.8087, allocations: 8.719 kB / 1.16 GB, free: 156.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8087, allocations: 6.188 kB / 1.16 GB, free: 156.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.8177, allocations: 6.003 MB / 1.166 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.8177, allocations: 6.156 kB / 1.166 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.8185, allocations: 181.7 kB / 1.166 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.8208, allocations: 0.8217 MB / 1.167 GB, free: 153.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.8209, allocations: 24.62 kB / 1.167 GB, free: 153.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.8363, allocations: 20.31 MB / 1.187 GB, free: 136.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8363, allocations: 4.625 kB / 1.187 GB, free: 136.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.8413, allocations: 2.991 MB / 1.19 GB, free: 135.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.8422, allocations: 380.4 kB / 1.19 GB, free: 135.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.8425, allocations: 38.44 kB / 1.19 GB, free: 135.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.8434, allocations: 73.31 kB / 1.19 GB, free: 135.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.8437, allocations: 132.1 kB / 1.19 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.8438, allocations: 37.75 kB / 1.19 GB, free: 135.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001076/0.8449, allocations: 0.8936 MB / 1.191 GB, free: 134.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8449, allocations: 0 / 1.191 GB, free: 134.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002688/0.8476, allocations: 0.7899 MB / 1.192 GB, free: 134.7 MB / 1.076 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.8479, allocations: 140.4 kB / 1.192 GB, free: 134.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005143/0.853, allocations: 3.921 MB / 1.196 GB, free: 132.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.853, allocations: 1.094 kB / 1.196 GB, free: 132.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/0.8562, allocations: 2.658 MB / 1.198 GB, free: 130.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.8594, allocations: 0.7053 MB / 1.199 GB, free: 130.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.8712, allocations: 7.316 MB / 1.206 GB, free: 126.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/0.8746, allocations: 2.564 MB / 1.209 GB, free: 126.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001394/0.876, allocations: 452.1 kB / 1.209 GB, free: 126.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.8763, allocations: 113.8 kB / 1.209 GB, free: 126.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/0.8763, allocations: 0 / 1.209 GB, free: 126.1 MB / 1.076 GB Notification: Performance of Templates: time 0.0598/0.9361, allocations: 36.12 MB / 1.245 GB, free: 113.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.005436457693577]