Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.0008332/0.0008332, allocations: 80.92 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.001037/0.001037, allocations: 161 kB / 24.17 MB, free: 332 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.9466/0.9466, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.724e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004577/0.004605, allocations: 4.146 MB / 0.7641 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.007563, allocations: 1.577 MB / 0.7656 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.007979, allocations: 35.69 kB / 0.7656 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.008693, allocations: 166.8 kB / 0.7658 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.009409, allocations: 374.8 kB / 0.7662 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.0101, allocations: 336.8 kB / 0.7665 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.0115, allocations: 0.9941 MB / 0.7674 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.01207, allocations: 423.1 kB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.01279, allocations: 0.5118 MB / 0.7683 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.01332, allocations: 374.9 kB / 0.7687 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.01339, allocations: 48.66 kB / 0.7688 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01366, allocations: 127.7 kB / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.01386, allocations: 269.7 kB / 0.7691 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.01406, allocations: 243.4 kB / 0.7694 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.01473, allocations: 0.5916 MB / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01473, allocations: 0 / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01473, allocations: 0 / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.01474, allocations: 0 / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009743/0.01572, allocations: 0.8521 MB / 0.7708 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.01575, allocations: 8.031 kB / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.01647, allocations: 237.5 kB / 0.771 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.017, allocations: 441.9 kB / 0.7714 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.01702, allocations: 44.75 kB / 0.7715 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.01713, allocations: 56.5 kB / 0.7715 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.01766, allocations: 0.6965 MB / 0.7722 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.01768, allocations: 8.125 kB / 0.7722 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.01771, allocations: 24.12 kB / 0.7722 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.01781, allocations: 60.95 kB / 0.7723 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.01805, allocations: 205.2 kB / 0.7725 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.02046, allocations: 3.028 MB / 0.7754 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.02065, allocations: 164.8 kB / 0.7756 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.02073, allocations: 65.41 kB / 0.7757 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.02075, allocations: 8.281 kB / 0.7757 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.02077, allocations: 38.84 kB / 0.7757 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.02077, allocations: 0 / 0.7757 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001609/0.02238, allocations: 0.9869 MB / 0.7767 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.02241, allocations: 55.41 kB / 0.7767 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.02263, allocations: 403 kB / 0.7771 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.02265, allocations: 33.7 kB / 0.7771 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.02277, allocations: 313.3 kB / 0.7774 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.02283, allocations: 130.9 kB / 0.7776 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.02293, allocations: 98.2 kB / 0.7777 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.02302, allocations: 362.6 kB / 0.778 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.0231, allocations: 67 kB / 0.7781 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.02325, allocations: 223.4 kB / 0.7783 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.02352, allocations: 345.6 kB / 0.7786 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.02353, allocations: 4 kB / 0.7786 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004824/0.02401, allocations: 429 kB / 0.779 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02403, allocations: 8 kB / 0.779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.02403, allocations: 5.031 kB / 0.779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.02441, allocations: 148.8 kB / 0.7792 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.02463, allocations: 99.83 kB / 0.7793 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.02642, allocations: 2.644 MB / 0.7819 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.0266, allocations: 12 kB / 0.7819 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.02662, allocations: 20 kB / 0.7819 GB, free: 15.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.02675, allocations: 146.2 kB / 0.782 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.02681, allocations: 51.83 kB / 0.7821 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.02719, allocations: 325.1 kB / 0.7824 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.02719, allocations: 4 kB / 0.7824 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.0272, allocations: 0.5938 kB / 0.7824 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.0272, allocations: 0 / 0.7824 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.02795, allocations: 0.6918 MB / 0.7831 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02795, allocations: 5.031 kB / 0.7831 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.02809, allocations: 51.92 kB / 0.7831 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.02842, allocations: 153.2 kB / 0.7833 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.02843, allocations: 8 kB / 0.7833 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.02988, allocations: 2.624 MB / 0.7858 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.02988, allocations: 8.938 kB / 0.7858 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.03046, allocations: 0.5255 MB / 0.7864 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.03058, allocations: 71.58 kB / 0.7864 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.03062, allocations: 4.969 kB / 0.7864 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.03074, allocations: 12 kB / 0.7864 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.0308, allocations: 32.7 kB / 0.7865 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.03082, allocations: 8 kB / 0.7865 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001317/0.03095, allocations: 173.7 kB / 0.7866 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.03095, allocations: 0 / 0.7866 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004259/0.03138, allocations: 156 kB / 0.7868 GB, free: 10.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001236/0.0315, allocations: 92.39 kB / 0.7869 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.03205, allocations: 0.5172 MB / 0.7874 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.03206, allocations: 7.938 kB / 0.7874 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.03236, allocations: 389 kB / 0.7878 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.03281, allocations: 167.2 kB / 0.7879 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.03448, allocations: 1.07 MB / 0.789 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.03461, allocations: 178.3 kB / 0.7891 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.03479, allocations: 62.8 kB / 0.7892 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.03503, allocations: 169.3 kB / 0.7894 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.03503, allocations: 0 / 0.7894 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.01145/0.04648, allocations: 8.552 MB / 0.7977 GB, free: 15.18 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_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.174282947089523]