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.0009377/0.0009377, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009629/0.0009629, allocations: 181 kB / 24.09 MB, free: 416 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.8772/0.8772, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.682/1.682, allocations: 359 MB / 0.6055 GB, free: 10.86 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.703e-06/1.703e-06, allocations: 0 / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.217e-05, allocations: 3.562 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004075/0.004097, allocations: 4.041 MB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.006636, allocations: 1.518 MB / 0.793 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.006884, allocations: 31.69 kB / 0.793 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.007397, allocations: 180.8 kB / 0.7932 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.007913, allocations: 364.9 kB / 0.7935 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.008352, allocations: 316.8 kB / 0.7938 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007048/0.009057, allocations: 0.998 MB / 0.7948 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.00945, allocations: 370.5 kB / 0.7952 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.009952, allocations: 0.5234 MB / 0.7957 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.01036, allocations: 388.3 kB / 0.796 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.01042, allocations: 51.98 kB / 0.7961 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.01061, allocations: 123.8 kB / 0.7962 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.01077, allocations: 264.9 kB / 0.7965 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.01094, allocations: 239.4 kB / 0.7967 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.01145, allocations: 0.5955 MB / 0.7973 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.01145, allocations: 0 / 0.7973 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01145, allocations: 0 / 0.7973 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.01146, allocations: 1.125 kB / 0.7973 GB, free: 2.215 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.000868/0.01233, allocations: 0.9801 MB / 0.7982 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01236, allocations: 12.02 kB / 0.7982 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.01302, allocations: 246 kB / 0.7985 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.01375, allocations: 458.2 kB / 0.7989 GB, free: 492 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.01378, allocations: 33.94 kB / 0.7989 GB, free: 456 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.01387, allocations: 60.5 kB / 0.799 GB, free: 396 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.0144, allocations: 0.7643 MB / 0.7997 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01441, allocations: 192 / 0.7997 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.01445, allocations: 32.11 kB / 0.7998 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.01454, allocations: 64.89 kB / 0.7998 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.01478, allocations: 224.9 kB / 0.8001 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.01697, allocations: 4.293 MB / 0.8042 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.01714, allocations: 124.3 kB / 0.8044 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.01722, allocations: 85.33 kB / 0.8044 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.01724, allocations: 4.281 kB / 0.8045 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.01727, allocations: 46.77 kB / 0.8045 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.073e-06/0.01727, allocations: 0 / 0.8045 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002476/0.01975, allocations: 1.356 MB / 0.8058 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.01978, allocations: 55.41 kB / 0.8059 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.02005, allocations: 454.2 kB / 0.8063 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.02008, allocations: 29.7 kB / 0.8063 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.02027, allocations: 411 kB / 0.8067 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.02035, allocations: 154.7 kB / 0.8069 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02046, allocations: 111.9 kB / 0.807 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02063, allocations: 0.539 MB / 0.8075 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.02072, allocations: 77.25 kB / 0.8076 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.02095, allocations: 325.7 kB / 0.8079 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.02128, allocations: 442.1 kB / 0.8083 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02129, allocations: 7.938 kB / 0.8083 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006822/0.02197, allocations: 0.5782 MB / 0.8089 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.02199, allocations: 8 kB / 0.8089 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.02201, allocations: 7.984 kB / 0.8089 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.02257, allocations: 227.2 kB / 0.8091 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.02279, allocations: 103.8 kB / 0.8092 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.02609, allocations: 5.558 MB / 0.8146 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.02628, allocations: 16 kB / 0.8147 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.0263, allocations: 16 kB / 0.8147 GB, free: 15.32 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.0001514/0.02646, allocations: 196.4 kB / 0.8149 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.02652, allocations: 67.8 kB / 0.8149 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.02709, allocations: 464.5 kB / 0.8154 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.02709, allocations: 4 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.0271, allocations: 4 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.0271, allocations: 7.984 kB / 0.8154 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.02813, allocations: 0.9313 MB / 0.8163 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.02814, allocations: 4 kB / 0.8163 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.02828, allocations: 55.91 kB / 0.8164 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.02874, allocations: 211 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.02876, allocations: 16 kB / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.03139, allocations: 5.543 MB / 0.822 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0314, allocations: 3.938 kB / 0.822 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.03205, allocations: 0.6836 MB / 0.8227 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.03216, allocations: 87.64 kB / 0.8227 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.03219, allocations: 8 kB / 0.8227 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.03231, allocations: 12 kB / 0.8228 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.03237, allocations: 39.88 kB / 0.8228 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.03239, allocations: 8 kB / 0.8228 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001307/0.03252, allocations: 286.9 kB / 0.8231 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03252, allocations: 0 / 0.8231 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000443/0.03296, allocations: 168 kB / 0.8232 GB, free: 6.035 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.000119/0.03308, allocations: 115.2 kB / 0.8233 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007127/0.03379, allocations: 0.8842 MB / 0.8242 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03379, allocations: 1.375 kB / 0.8242 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.03425, allocations: 0.7158 MB / 0.8249 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.03476, allocations: 171.9 kB / 0.8251 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.03634, allocations: 1.134 MB / 0.8262 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.03681, allocations: 182.5 kB / 0.8264 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.03701, allocations: 64.81 kB / 0.8264 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.03725, allocations: 206.1 kB / 0.8266 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of SimCode: time 1.383e-06/0.03726, allocations: 0 / 0.8266 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.01432/0.05157, allocations: 9.791 MB / 0.8362 GB, free: 8.773 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: 4.795711992774159]