Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001381/0.001381, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00156/0.00156, allocations: 161 kB / 24.16 MB, free: 336 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.9728/0.9728, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0.6562 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.38e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01121/0.01123, allocations: 15.14 MB / 0.7749 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005662/0.01689, allocations: 4.619 MB / 0.7794 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.01752, allocations: 150.8 kB / 0.7795 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.01844, allocations: 0.6399 MB / 0.7802 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.01986, allocations: 1.456 MB / 0.7816 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.02127, allocations: 1.336 MB / 0.7829 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004721/0.02599, allocations: 6.168 MB / 0.7889 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.02927, allocations: 4 MB / 0.7928 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.03216, allocations: 3.702 MB / 0.7964 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.03477, allocations: 2.772 MB / 0.7991 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.03523, allocations: 0.5085 MB / 0.7996 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.03592, allocations: 0.5936 MB / 0.8002 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.03711, allocations: 2.222 MB / 0.8024 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.03825, allocations: 1.666 MB / 0.804 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.04103, allocations: 4.11 MB / 0.808 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.04104, allocations: 0 / 0.808 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.31e-07/0.04104, allocations: 3.938 kB / 0.808 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.04107, allocations: 1.125 kB / 0.808 GB, free: 5.281 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00376/0.04483, allocations: 3.985 MB / 0.8119 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.04486, allocations: 8.031 kB / 0.8119 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.0469, allocations: 1.001 MB / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.04883, allocations: 1.98 MB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.04896, allocations: 276.4 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.04937, allocations: 384.8 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.05262, allocations: 3.597 MB / 0.819 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/0.05269, allocations: 27.75 kB / 0.819 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.05292, allocations: 157.6 kB / 0.8192 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002913/0.05321, allocations: 270.9 kB / 0.8194 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.05455, allocations: 0.9969 MB / 0.8204 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00997/0.06452, allocations: 14.15 MB / 0.8342 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.06496, allocations: 398.5 kB / 0.8346 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.06529, allocations: 322 kB / 0.8349 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.06534, allocations: 26.69 kB / 0.8349 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.06537, allocations: 47.56 kB / 0.835 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 2.585e-06/0.06537, allocations: 0 / 0.835 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of matching and sorting (n=113): time 0.004913/0.07029, allocations: 3.087 MB / 0.838 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.07032, allocations: 60.41 kB / 0.838 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.07133, allocations: 1.187 MB / 0.8392 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.07139, allocations: 49.7 kB / 0.8393 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.07195, allocations: 1.51 MB / 0.8407 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.07215, allocations: 424.3 kB / 0.8411 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.07242, allocations: 284.7 kB / 0.8414 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.07248, allocations: 309.1 kB / 0.8417 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.07273, allocations: 206.7 kB / 0.8419 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.07319, allocations: 0.7251 MB / 0.8426 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.07403, allocations: 1.099 MB / 0.8437 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.07404, allocations: 4 kB / 0.8437 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001445/0.07548, allocations: 1.29 MB / 0.8449 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.0755, allocations: 16.03 kB / 0.845 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.07552, allocations: 16 kB / 0.845 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008341/0.07635, allocations: 413.7 kB / 0.8454 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.07739, allocations: 376.8 kB / 0.8457 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.08177, allocations: 8.047 MB / 0.8536 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.08224, allocations: 48 kB / 0.8536 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.08231, allocations: 56 kB / 0.8537 GB, free: 4.414 MB / 0.8073 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 (184): * Single equations (assignments): 178 * 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 {(2,4,100.0%), (2,4,100.0%), (2,4,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.0005704/0.08288, allocations: 224.1 kB / 0.8539 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.08305, allocations: 155.8 kB / 0.854 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.08421, allocations: 0.9676 MB / 0.855 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.08421, allocations: 19.97 kB / 0.855 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.08422, allocations: 7.938 kB / 0.855 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.08422, allocations: 3.984 kB / 0.855 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.08711, allocations: 2.336 MB / 0.8573 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.08711, allocations: 4 kB / 0.8573 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.08769, allocations: 220.3 kB / 0.8575 GB, free: 360 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/0.08848, allocations: 397.8 kB / 0.8579 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.08853, allocations: 24 kB / 0.8579 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.0928, allocations: 8.051 MB / 0.8658 GB, free: 7.273 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.09281, allocations: 4 kB / 0.8658 GB, free: 7.27 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.0945, allocations: 1.329 MB / 0.8671 GB, free: 5.852 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.09482, allocations: 254.7 kB / 0.8673 GB, free: 5.602 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.09493, allocations: 27.98 kB / 0.8673 GB, free: 5.574 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.09525, allocations: 27.94 kB / 0.8674 GB, free: 5.547 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.0954, allocations: 96.77 kB / 0.8675 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.09544, allocations: 24 kB / 0.8675 GB, free: 5.426 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003784/0.09582, allocations: 0.5741 MB / 0.8681 GB, free: 4.855 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.09582, allocations: 0 / 0.8681 GB, free: 4.855 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001237/0.09706, allocations: 0.6484 MB / 0.8687 GB, free: 4.207 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (92): * Single equations (assignments): 86 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0001914/0.09725, allocations: 128.2 kB / 0.8688 GB, free: 4.074 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.09877, allocations: 1.635 MB / 0.8704 GB, free: 2.363 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.749e-05/0.0988, allocations: 25.81 kB / 0.8704 GB, free: 2.336 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.0997, allocations: 1.196 MB / 0.8716 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.101, allocations: 0.6334 MB / 0.8722 GB, free: 460 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.1077, allocations: 5.684 MB / 0.8778 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.1084, allocations: 0.8991 MB / 0.8786 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005869/0.109, allocations: 236 kB / 0.8789 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/0.1098, allocations: 0.5108 MB / 0.8794 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of SimCode: time 1.433e-06/0.1098, allocations: 0 / 0.8794 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.04605/0.1559, allocations: 32.57 MB / 0.9112 GB, free: 9.195 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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: 5.574077507015318]