Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001851/0.001851, allocations: 79.86 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.002186/0.002186, allocations: 165.4 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.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] 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 2.689/2.689, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.181e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04039/0.04042, allocations: 31.11 MB / 0.9814 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.06485, allocations: 14.29 MB / 0.9953 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.06819, allocations: 210.4 kB / 0.9955 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.07856, allocations: 3.674 MB / 0.9991 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008869/0.08743, allocations: 3.073 MB / 1.002 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006415/0.09385, allocations: 2.361 MB / 1.004 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.106, allocations: 9.016 MB / 1.013 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.116, allocations: 5.505 MB / 1.019 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.1274, allocations: 5.684 MB / 1.024 GB, free: 348 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007133/0.1346, allocations: 3.67 MB / 1.028 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.1365, allocations: 0.7109 MB / 1.028 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004753/0.1413, allocations: 1.63 MB / 1.03 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004366/0.1457, allocations: 3.012 MB / 1.033 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005211/0.1509, allocations: 2.366 MB / 1.035 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.1654, allocations: 11.37 MB / 1.046 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1654, allocations: 0 / 1.046 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1654, allocations: 0 / 1.046 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002458/0.1657, allocations: 0 / 1.046 GB, free: 9.523 MB / 0.9512 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.0132/0.1789, allocations: 5.986 MB / 1.052 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1789, allocations: 11.98 kB / 1.052 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007194/0.1861, allocations: 1.176 MB / 1.053 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/0.1938, allocations: 3.449 MB / 1.057 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.1942, allocations: 382.4 kB / 1.057 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.1954, allocations: 496.2 kB / 1.058 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.2111, allocations: 8.698 MB / 1.066 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.2112, allocations: 31.75 kB / 1.066 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005801/0.2118, allocations: 212 kB / 1.066 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/0.213, allocations: 437.6 kB / 1.067 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.2245, allocations: 6.077 MB / 1.073 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/0.2628, allocations: 21.21 MB / 1.093 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.2659, allocations: 1.905 MB / 1.095 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.2687, allocations: 1.744 MB / 1.097 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2688, allocations: 18 kB / 1.097 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.2689, allocations: 60.55 kB / 1.097 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 3.878e-06/0.2689, allocations: 0 / 1.097 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.6538/0.9227, allocations: 38.66 MB / 1.135 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.9228, allocations: 80.39 kB / 1.135 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.9254, allocations: 2.038 MB / 1.137 GB, free: 138 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.9257, allocations: 73.77 kB / 1.137 GB, free: 137.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.9268, allocations: 2.345 MB / 1.139 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/0.9274, allocations: 0.9753 MB / 1.14 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/0.9283, allocations: 0.5001 MB / 1.141 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.9283, allocations: 306.4 kB / 1.141 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.9308, allocations: 1.976 MB / 1.143 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.9333, allocations: 2.602 MB / 1.145 GB, free: 132 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/0.9384, allocations: 4.931 MB / 1.15 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.9384, allocations: 7.906 kB / 1.15 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01223/0.9507, allocations: 7.617 MB / 1.158 GB, free: 124 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.9507, allocations: 12 kB / 1.158 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.9507, allocations: 16 kB / 1.158 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008284/0.959, allocations: 3.215 MB / 1.161 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.9604, allocations: 401.2 kB / 1.161 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03419/0.9946, allocations: 32.55 MB / 1.193 GB, free: 87.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.9975, allocations: 163.8 kB / 1.193 GB, free: 87.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.9978, allocations: 108 kB / 1.193 GB, free: 86.91 MB / 0.9981 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.002969/1.001, allocations: 1.797 MB / 1.195 GB, free: 85.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/1.001, allocations: 322.1 kB / 1.195 GB, free: 84.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.013, allocations: 7.221 MB / 1.202 GB, free: 77.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.013, allocations: 28 kB / 1.202 GB, free: 77.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/1.014, allocations: 31.94 kB / 1.202 GB, free: 77.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/1.014, allocations: 15.94 kB / 1.202 GB, free: 77.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.032, allocations: 11.4 MB / 1.214 GB, free: 65.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.032, allocations: 11.92 kB / 1.214 GB, free: 65.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/1.033, allocations: 231.6 kB / 1.214 GB, free: 65.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007468/1.04, allocations: 2.837 MB / 1.217 GB, free: 62.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/1.041, allocations: 48 kB / 1.217 GB, free: 62.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03376/1.074, allocations: 31.36 MB / 1.247 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.074, allocations: 15.77 kB / 1.247 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.085, allocations: 6.738 MB / 1.254 GB, free: 23.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.087, allocations: 0.6951 MB / 1.255 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005813/1.087, allocations: 59.98 kB / 1.255 GB, free: 23.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.089, allocations: 163.8 kB / 1.255 GB, free: 22.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008074/1.09, allocations: 281 kB / 1.255 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.09, allocations: 72 kB / 1.255 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001574/1.092, allocations: 1.33 MB / 1.256 GB, free: 21.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.092, allocations: 0 / 1.256 GB, free: 21.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003871/1.096, allocations: 1.363 MB / 1.258 GB, free: 19.89 MB / 0.9981 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.0003735/1.096, allocations: 179 kB / 1.258 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009621/1.106, allocations: 6.533 MB / 1.264 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/1.106, allocations: 4 kB / 1.264 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006902/1.113, allocations: 4.263 MB / 1.268 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/1.117, allocations: 1.006 MB / 1.269 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.133, allocations: 10.32 MB / 1.279 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005034/1.138, allocations: 3.107 MB / 1.283 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001938/1.14, allocations: 0.528 MB / 1.283 GB, free: 9.723 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/1.14, allocations: 148.5 kB / 1.283 GB, free: 9.578 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/1.14, allocations: 0 / 1.283 GB, free: 9.578 MB / 1.014 GB Notification: Performance of Templates: time 0.1326/1.273, allocations: 75.26 MB / 1.357 GB, free: 15.72 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.04139769077301]