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.0009502/0.0009502, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009024/0.0009024, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.917/0.917, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.775/1.775, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.392e-06/1.392e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.959e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01532/0.01534, allocations: 20.06 MB / 0.8311 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.02374, allocations: 5.592 MB / 0.8366 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.02522, allocations: 191.2 kB / 0.8368 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.02658, allocations: 0.8337 MB / 0.8376 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.02909, allocations: 1.859 MB / 0.8394 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.03108, allocations: 1.634 MB / 0.841 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009648/0.04073, allocations: 8.016 MB / 0.8488 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007275/0.048, allocations: 5.215 MB / 0.8539 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/0.05551, allocations: 4.873 MB / 0.8587 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005233/0.06075, allocations: 3.753 MB / 0.8624 GB, free: 13.46 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.06252, allocations: 0.6758 MB / 0.863 GB, free: 12.79 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.06445, allocations: 0.7615 MB / 0.8638 GB, free: 12.02 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002524/0.06697, allocations: 2.841 MB / 0.8665 GB, free: 9.176 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003531/0.0705, allocations: 2.171 MB / 0.8687 GB, free: 7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.07612, allocations: 5.321 MB / 0.8739 GB, free: 1.664 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.07613, allocations: 0 / 0.8739 GB, free: 1.664 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.07613, allocations: 0 / 0.8739 GB, free: 1.664 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002959/0.07643, allocations: 0 / 0.8739 GB, free: 1.664 MB / 0.823 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.008359/0.08478, allocations: 5.633 MB / 0.8794 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.08483, allocations: 8.031 kB / 0.8794 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.08835, allocations: 1.429 MB / 0.8808 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.09275, allocations: 3.054 MB / 0.8837 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.09298, allocations: 353.9 kB / 0.8841 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/0.09359, allocations: 484.2 kB / 0.8845 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007768/0.1014, allocations: 5.386 MB / 0.8898 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.1015, allocations: 23.95 kB / 0.8898 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.1019, allocations: 218.8 kB / 0.89 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/0.1023, allocations: 369.1 kB / 0.8904 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.1069, allocations: 1.845 MB / 0.8922 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.1304, allocations: 26.24 MB / 0.9178 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.1322, allocations: 0.9025 MB / 0.9187 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009708/0.1332, allocations: 0.6078 MB / 0.9193 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.1332, allocations: 29.25 kB / 0.9193 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1333, allocations: 54.7 kB / 0.9194 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 7.164e-06/0.1333, allocations: 4 kB / 0.9194 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.007981/0.1413, allocations: 3.886 MB / 0.9232 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1413, allocations: 68.72 kB / 0.9232 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.1427, allocations: 1.581 MB / 0.9248 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.1428, allocations: 61.69 kB / 0.9248 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009746/0.1437, allocations: 2.238 MB / 0.927 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.1441, allocations: 0.5965 MB / 0.9276 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.1445, allocations: 405.9 kB / 0.928 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1446, allocations: 484.7 kB / 0.9285 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.1451, allocations: 376.2 kB / 0.9288 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.1461, allocations: 1.367 MB / 0.9301 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.1478, allocations: 1.926 MB / 0.932 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1479, allocations: 7.938 kB / 0.932 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003006/0.1509, allocations: 2.37 MB / 0.9343 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1509, allocations: 12 kB / 0.9344 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.1509, allocations: 27.98 kB / 0.9344 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.1525, allocations: 0.7184 MB / 0.9351 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.1534, allocations: 439.2 kB / 0.9355 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.1644, allocations: 23.09 MB / 0.9581 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.1656, allocations: 123.9 kB / 0.9582 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.1657, allocations: 92 kB / 0.9583 GB, free: 6.977 MB / 0.9167 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.0009/0.1666, allocations: 303.9 kB / 0.9586 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.1669, allocations: 294.5 kB / 0.9588 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.1691, allocations: 1.724 MB / 0.9605 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1691, allocations: 16 kB / 0.9605 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.1692, allocations: 8 kB / 0.9605 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1692, allocations: 7.969 kB / 0.9605 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.1754, allocations: 5.02 MB / 0.9655 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1754, allocations: 4 kB / 0.9655 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.1759, allocations: 215.6 kB / 0.9657 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.1774, allocations: 0.7034 MB / 0.9663 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.1775, allocations: 36 kB / 0.9664 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.1889, allocations: 23.04 MB / 0.9889 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1889, allocations: 12 kB / 0.9889 GB, free: 5.828 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.1917, allocations: 1.998 MB / 0.9908 GB, free: 3.676 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.1923, allocations: 434.2 kB / 0.9913 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.1925, allocations: 35.98 kB / 0.9913 GB, free: 3.215 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.193, allocations: 91.89 kB / 0.9914 GB, free: 3.125 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.1933, allocations: 148.9 kB / 0.9915 GB, free: 2.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.1934, allocations: 48 kB / 0.9916 GB, free: 2.934 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008451/0.1942, allocations: 0.8911 MB / 0.9924 GB, free: 2.023 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1942, allocations: 0 / 0.9924 GB, free: 2.023 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002085/0.1963, allocations: 0.9102 MB / 0.9933 GB, free: 1.113 MB / 0.948 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.0002137/0.1965, allocations: 163 kB / 0.9935 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003211/0.1997, allocations: 3.716 MB / 0.9971 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1997, allocations: 5 kB / 0.9971 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.2017, allocations: 3.007 MB / 1 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.2035, allocations: 0.7765 MB / 1.001 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008478/0.2119, allocations: 6.996 MB / 1.008 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.213, allocations: 1.173 MB / 1.009 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009651/0.2139, allocations: 444.5 kB / 1.009 GB, free: 252 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.2142, allocations: 132.5 kB / 1.009 GB, free: 120 kB / 0.9636 GB Notification: Performance of SimCode: time 1.513e-06/0.2142, allocations: 0 / 1.009 GB, free: 120 kB / 0.9636 GB Notification: Performance of Templates: time 0.05434/0.2685, allocations: 44.67 MB / 1.053 GB, free: 4.375 MB / 1.01 GB " [Timeout remaining time 300] 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.371633653063327]