Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.0014/0.0014, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001474/0.001474, allocations: 161 kB / 23.81 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.9135/0.9135, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.74e-05/3.952e-05, allocations: 14.91 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006676/0.006716, allocations: 4.093 MB / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.01018, allocations: 1.526 MB / 0.7926 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.01073, allocations: 32.44 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000799/0.01153, allocations: 173.3 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01258, allocations: 362.9 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.0135, allocations: 329.4 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.01495, allocations: 0.983 MB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.01572, allocations: 378.5 kB / 0.7948 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000947/0.01666, allocations: 0.5234 MB / 0.7953 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.01716, allocations: 388.1 kB / 0.7957 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.01723, allocations: 48 kB / 0.7957 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.01749, allocations: 131.8 kB / 0.7958 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.01768, allocations: 264.6 kB / 0.7961 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.01787, allocations: 231.4 kB / 0.7963 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.01853, allocations: 0.5955 MB / 0.7969 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.01854, allocations: 0 / 0.7969 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01854, allocations: 1.75 kB / 0.7969 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.01855, allocations: 4 kB / 0.7969 GB, free: 2.449 MB / 0.7448 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.001096/0.01964, allocations: 0.988 MB / 0.7979 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01968, allocations: 8.031 kB / 0.7979 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.02046, allocations: 269.1 kB / 0.7981 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.021, allocations: 466.9 kB / 0.7986 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.02103, allocations: 41.36 kB / 0.7986 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.02114, allocations: 61.03 kB / 0.7987 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.02183, allocations: 0.7922 MB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.02185, allocations: 8.125 kB / 0.7994 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.02189, allocations: 28.11 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.02201, allocations: 64.95 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.02239, allocations: 275.8 kB / 0.7998 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.02494, allocations: 4.425 MB / 0.8041 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.02519, allocations: 151.8 kB / 0.8043 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.02531, allocations: 89.31 kB / 0.8043 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.02533, allocations: 12.22 kB / 0.8044 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.02536, allocations: 45.59 kB / 0.8044 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.02536, allocations: 1.062 kB / 0.8044 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002597/0.02796, allocations: 1.572 MB / 0.8059 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.02799, allocations: 55.41 kB / 0.806 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.02828, allocations: 458.4 kB / 0.8064 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.02831, allocations: 33.7 kB / 0.8065 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.02849, allocations: 407.1 kB / 0.8068 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.02859, allocations: 154.7 kB / 0.807 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.0287, allocations: 108 kB / 0.8071 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.02884, allocations: 0.5313 MB / 0.8076 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.02899, allocations: 101.2 kB / 0.8077 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.02924, allocations: 351.3 kB / 0.808 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.02976, allocations: 490.1 kB / 0.8085 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02976, allocations: 0 / 0.8085 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009955/0.03076, allocations: 0.6371 MB / 0.8091 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.03078, allocations: 9.875 kB / 0.8091 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03079, allocations: 4 kB / 0.8091 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.03139, allocations: 234.8 kB / 0.8094 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.03165, allocations: 115.8 kB / 0.8095 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.03465, allocations: 5.662 MB / 0.815 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.03485, allocations: 31.97 kB / 0.815 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.03488, allocations: 23.94 kB / 0.8151 GB, free: 14.73 MB / 0.7761 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0001408/0.03502, allocations: 200.4 kB / 0.8153 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.03509, allocations: 67.67 kB / 0.8153 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.03577, allocations: 496.5 kB / 0.8158 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.03577, allocations: 4 kB / 0.8158 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.03577, allocations: 7.938 kB / 0.8158 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.03578, allocations: 7.984 kB / 0.8158 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.037, allocations: 1.067 MB / 0.8169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.037, allocations: 0 / 0.8169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.03717, allocations: 67.94 kB / 0.8169 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/0.03769, allocations: 222.8 kB / 0.8171 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.03771, allocations: 12 kB / 0.8171 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.04038, allocations: 5.663 MB / 0.8227 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.04038, allocations: 0 / 0.8227 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.0412, allocations: 0.7421 MB / 0.8234 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.04131, allocations: 91.62 kB / 0.8235 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.04135, allocations: 11.94 kB / 0.8235 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.0415, allocations: 27.95 kB / 0.8235 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.04157, allocations: 35.94 kB / 0.8236 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.04158, allocations: 12 kB / 0.8236 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001785/0.04176, allocations: 291 kB / 0.8238 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.04176, allocations: 0 / 0.8238 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000403/0.04217, allocations: 172 kB / 0.824 GB, free: 5.016 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.04229, allocations: 111.2 kB / 0.8241 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008654/0.04315, allocations: 0.9439 MB / 0.825 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04316, allocations: 4.125 kB / 0.825 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.04365, allocations: 0.7329 MB / 0.8258 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.04415, allocations: 169.5 kB / 0.8259 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.04581, allocations: 1.143 MB / 0.827 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.04595, allocations: 182.5 kB / 0.8272 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002/0.04615, allocations: 88.77 kB / 0.8273 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.04623, allocations: 40.48 kB / 0.8273 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.04623, allocations: 0 / 0.8273 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.0117/0.05793, allocations: 9.67 MB / 0.8368 GB, free: 7.945 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_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.15113424975425]