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.001414/0.001414, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001635/0.001635, allocations: 165.8 kB / 24.86 MB, free: 8.902 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.9566/0.9566, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.6063 GB, free: 10.91 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 1.834e-06/1.834e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.788e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00619/0.006218, allocations: 4.04 MB / 0.7922 GB, free: 8.176 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.009464, allocations: 1.522 MB / 0.7937 GB, free: 6.656 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.009835, allocations: 31.69 kB / 0.7938 GB, free: 6.625 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.0105, allocations: 171.8 kB / 0.7939 GB, free: 6.457 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0008339/0.01134, allocations: 368.9 kB / 0.7943 GB, free: 6.098 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.01207, allocations: 321.4 kB / 0.7946 GB, free: 5.785 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.01325, allocations: 0.9947 MB / 0.7956 GB, free: 4.789 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.01394, allocations: 378.5 kB / 0.7959 GB, free: 4.418 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.01478, allocations: 0.5191 MB / 0.7964 GB, free: 3.898 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.01548, allocations: 384.1 kB / 0.7968 GB, free: 3.523 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.0156, allocations: 48 kB / 0.7968 GB, free: 3.477 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.01592, allocations: 137.1 kB / 0.797 GB, free: 3.344 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.01617, allocations: 259.3 kB / 0.7972 GB, free: 3.09 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.01651, allocations: 235.4 kB / 0.7974 GB, free: 2.859 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.01732, allocations: 0.5877 MB / 0.798 GB, free: 2.27 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01733, allocations: 5.688 kB / 0.798 GB, free: 2.266 MB / 0.7449 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01733, allocations: 0 / 0.798 GB, free: 2.266 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.01735, allocations: 0 / 0.798 GB, free: 2.266 MB / 0.7449 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.001424/0.01877, allocations: 0.984 MB / 0.799 GB, free: 1.242 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01881, allocations: 8.031 kB / 0.799 GB, free: 1.234 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.01995, allocations: 249.1 kB / 0.7992 GB, free: 0.9922 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.02075, allocations: 459 kB / 0.7997 GB, free: 0.5273 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.02079, allocations: 39.3 kB / 0.7997 GB, free: 500 kB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.02093, allocations: 60.5 kB / 0.7998 GB, free: 440 kB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.02177, allocations: 0.7589 MB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.0218, allocations: 4.188 kB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.02186, allocations: 28.12 kB / 0.8005 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.02201, allocations: 61.8 kB / 0.8006 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.02245, allocations: 227.4 kB / 0.8008 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.02588, allocations: 4.286 MB / 0.805 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.02616, allocations: 132.8 kB / 0.8051 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.02642, allocations: 80.2 kB / 0.8052 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.02646, allocations: 12.22 kB / 0.8052 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.0265, allocations: 42.8 kB / 0.8052 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.175e-06/0.0265, allocations: 0 / 0.8052 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002605/0.02911, allocations: 1.352 MB / 0.8066 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.02914, allocations: 55.41 kB / 0.8066 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.02941, allocations: 454.2 kB / 0.8071 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.02944, allocations: 33.7 kB / 0.8071 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.02961, allocations: 403 kB / 0.8075 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.0297, allocations: 154.7 kB / 0.8076 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02982, allocations: 111.9 kB / 0.8077 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02996, allocations: 0.539 MB / 0.8082 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.359e-05/0.03005, allocations: 77.25 kB / 0.8083 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.03028, allocations: 331.2 kB / 0.8086 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.03064, allocations: 438.1 kB / 0.8091 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.03064, allocations: 7.938 kB / 0.8091 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007148/0.03136, allocations: 0.5785 MB / 0.8096 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.03138, allocations: 8 kB / 0.8096 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.03138, allocations: 4 kB / 0.8096 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.03195, allocations: 222.9 kB / 0.8099 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.03218, allocations: 107.8 kB / 0.81 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.03495, allocations: 5.55 MB / 0.8154 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.03514, allocations: 16.06 kB / 0.8154 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.03516, allocations: 20 kB / 0.8154 GB, free: 15.39 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.0001512/0.03531, allocations: 188.4 kB / 0.8156 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.03538, allocations: 71.61 kB / 0.8157 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.03598, allocations: 468.4 kB / 0.8161 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.03598, allocations: 4 kB / 0.8161 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03599, allocations: 4 kB / 0.8161 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.03599, allocations: 3.938 kB / 0.8161 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.03702, allocations: 0.9312 MB / 0.817 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.03702, allocations: 0 / 0.817 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.03718, allocations: 59.91 kB / 0.8171 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.03767, allocations: 207.1 kB / 0.8173 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.03769, allocations: 12 kB / 0.8173 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.04016, allocations: 5.547 MB / 0.8227 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04017, allocations: 64 / 0.8227 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.04087, allocations: 0.6912 MB / 0.8234 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.041, allocations: 87.56 kB / 0.8235 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.04104, allocations: 11.98 kB / 0.8235 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.04118, allocations: 12 kB / 0.8235 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.04125, allocations: 39.91 kB / 0.8235 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.04127, allocations: 12 kB / 0.8235 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001766/0.04145, allocations: 278.9 kB / 0.8238 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.11e-07/0.04145, allocations: 0 / 0.8238 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005386/0.04199, allocations: 172 kB / 0.824 GB, free: 6.094 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.0001693/0.04216, allocations: 111.2 kB / 0.8241 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000854/0.04301, allocations: 0.888 MB / 0.8249 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.04301, allocations: 0 / 0.8249 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.0435, allocations: 0.7147 MB / 0.8256 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.04403, allocations: 172.9 kB / 0.8258 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.04562, allocations: 1.133 MB / 0.8269 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.04576, allocations: 178.5 kB / 0.8271 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.04593, allocations: 60.81 kB / 0.8271 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.0462, allocations: 214.1 kB / 0.8273 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of SimCode: time 1.192e-06/0.0462, allocations: 0 / 0.8273 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.01189/0.0581, allocations: 9.964 MB / 0.8371 GB, free: 8.684 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.159170757047832]