Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009969/0.0009969, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001004/0.001004, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9373/0.9373, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.846/1.846, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 3.938 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.62e-05, allocations: 2.312 kB / 0.812 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0183/0.01832, allocations: 19.49 MB / 0.8311 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009374/0.0277, allocations: 5.584 MB / 0.8365 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.03052, allocations: 190.6 kB / 0.8367 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.03301, allocations: 0.8347 MB / 0.8375 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.03717, allocations: 1.855 MB / 0.8393 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.04074, allocations: 1.645 MB / 0.8409 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007905/0.04864, allocations: 8.016 MB / 0.8488 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006869/0.05551, allocations: 5.223 MB / 0.8539 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.06243, allocations: 4.862 MB / 0.8586 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/0.06734, allocations: 3.765 MB / 0.8623 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.06879, allocations: 0.6758 MB / 0.8629 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.07086, allocations: 0.7654 MB / 0.8637 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002484/0.07335, allocations: 2.83 MB / 0.8665 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003152/0.0765, allocations: 2.179 MB / 0.8686 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.08186, allocations: 5.318 MB / 0.8738 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.08187, allocations: 0 / 0.8738 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.089e-06/0.08187, allocations: 3.984 kB / 0.8738 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001961/0.08207, allocations: 0 / 0.8738 GB, free: 0.8242 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.007032/0.0891, allocations: 5.607 MB / 0.8793 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.08915, allocations: 8.031 kB / 0.8793 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.0918, allocations: 1.309 MB / 0.8805 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.09564, allocations: 2.82 MB / 0.8833 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.09586, allocations: 357.9 kB / 0.8836 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005329/0.0964, allocations: 476.3 kB / 0.8841 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005517/0.1019, allocations: 5.073 MB / 0.889 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-05/0.102, allocations: 27.94 kB / 0.8891 GB, free: 364 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.1023, allocations: 208.3 kB / 0.8893 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000336/0.1026, allocations: 369.1 kB / 0.8896 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.1048, allocations: 1.463 MB / 0.891 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.1226, allocations: 25.03 MB / 0.9155 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1236, allocations: 0.7848 MB / 0.9163 GB, free: 3.684 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.1242, allocations: 0.5324 MB / 0.9168 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.1242, allocations: 25.31 kB / 0.9168 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1243, allocations: 58.7 kB / 0.9169 GB, free: 3.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=157): time 3.607e-06/0.1243, allocations: 0 / 0.9169 GB, free: 3.062 MB / 0.823 GB Notification: Performance of matching and sorting (n=160): time 0.005018/0.1293, allocations: 3.101 MB / 0.9199 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1293, allocations: 72.66 kB / 0.92 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.1307, allocations: 1.564 MB / 0.9215 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.1307, allocations: 49.7 kB / 0.9215 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/0.1317, allocations: 2.258 MB / 0.9237 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.132, allocations: 0.6042 MB / 0.9243 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.1323, allocations: 413.8 kB / 0.9247 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.1324, allocations: 476.8 kB / 0.9252 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1328, allocations: 284.2 kB / 0.9254 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.1335, allocations: 1.285 MB / 0.9267 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.135, allocations: 1.762 MB / 0.9284 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.135, allocations: 8 kB / 0.9284 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002313/0.1373, allocations: 2.151 MB / 0.9305 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1373, allocations: 17.56 kB / 0.9305 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.1373, allocations: 28.39 kB / 0.9306 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.1387, allocations: 0.7065 MB / 0.9313 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.1394, allocations: 391.3 kB / 0.9316 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.1499, allocations: 22.66 MB / 0.9538 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.151, allocations: 64 kB / 0.9538 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/0.1511, allocations: 80 kB / 0.9539 GB, free: 10.62 MB / 0.8698 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.0009184/0.1521, allocations: 298.2 kB / 0.9542 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.1524, allocations: 294.5 kB / 0.9545 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.1545, allocations: 1.568 MB / 0.956 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.1545, allocations: 16 kB / 0.956 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1545, allocations: 15.94 kB / 0.956 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1545, allocations: 7.969 kB / 0.956 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/0.1595, allocations: 3.841 MB / 0.9598 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1595, allocations: 4 kB / 0.9598 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.1599, allocations: 167.8 kB / 0.96 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.1613, allocations: 0.6836 MB / 0.9606 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.1614, allocations: 28 kB / 0.9606 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.1718, allocations: 22.63 MB / 0.9827 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1718, allocations: 8.219 kB / 0.9828 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.1742, allocations: 1.858 MB / 0.9846 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.1747, allocations: 394.3 kB / 0.9849 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.1749, allocations: 35.98 kB / 0.985 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.1753, allocations: 36 kB / 0.985 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.1755, allocations: 144.9 kB / 0.9852 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.1756, allocations: 39.98 kB / 0.9852 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006099/0.1762, allocations: 0.8244 MB / 0.986 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1762, allocations: 0 / 0.986 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001919/0.1781, allocations: 0.9062 MB / 0.9869 GB, free: 7.016 MB / 0.9011 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.1783, allocations: 158.9 kB / 0.987 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.1812, allocations: 3.563 MB / 0.9905 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1812, allocations: 0 / 0.9905 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.1829, allocations: 2.923 MB / 0.9934 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.1846, allocations: 0.7716 MB / 0.9941 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008099/0.1927, allocations: 6.981 MB / 1.001 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000955/0.1936, allocations: 1.173 MB / 1.002 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008763/0.1945, allocations: 292.8 kB / 1.002 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.1955, allocations: 0.7438 MB / 1.003 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of SimCode: time 1.382e-06/0.1955, allocations: 0 / 1.003 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of Templates: time 0.4048/0.6003, allocations: 45.39 MB / 1.047 GB, free: 178.3 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.301695734728128]