Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001785/0.001785, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002244/0.002244, allocations: 163.7 kB / 23.02 MB, free: 4.945 MB / 14.72 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 1.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.696/2.696, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_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.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 67.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8534/0.8559, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005846/0.8618, allocations: 5.276 MB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003727/0.8655, allocations: 2.614 MB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.8658, allocations: 31 kB / 1.162 GB, free: 28.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.8675, allocations: 0.6794 MB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007642/0.8682, allocations: 415.8 kB / 1.163 GB, free: 27.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.869, allocations: 402.3 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000727/0.8697, allocations: 0.9552 MB / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.8701, allocations: 368.4 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.8706, allocations: 395.2 kB / 1.165 GB, free: 26.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.871, allocations: 404.2 kB / 1.165 GB, free: 26.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.8711, allocations: 53.25 kB / 1.165 GB, free: 26.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.8716, allocations: 322 kB / 1.166 GB, free: 26.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.8718, allocations: 254.6 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.872, allocations: 298.8 kB / 1.166 GB, free: 26.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.8728, allocations: 0.9758 MB / 1.167 GB, free: 25.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8728, allocations: 3.062 kB / 1.167 GB, free: 25.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8728, allocations: 0 / 1.167 GB, free: 25.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8728, allocations: 0 / 1.167 GB, free: 25.84 MB / 1.076 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.001266/0.8741, allocations: 0.92 MB / 1.168 GB, free: 25.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.8741, allocations: 14.78 kB / 1.168 GB, free: 25.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.8754, allocations: 204.3 kB / 1.168 GB, free: 25.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.8761, allocations: 449.5 kB / 1.169 GB, free: 24.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.8761, allocations: 38.33 kB / 1.169 GB, free: 24.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.8763, allocations: 55.84 kB / 1.169 GB, free: 24.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/0.8773, allocations: 0.9826 MB / 1.17 GB, free: 24.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.8773, allocations: 10.52 kB / 1.17 GB, free: 24.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.8773, allocations: 27.86 kB / 1.17 GB, free: 24.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.8775, allocations: 63.17 kB / 1.17 GB, free: 24.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.8782, allocations: 0.5688 MB / 1.17 GB, free: 23.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.8817, allocations: 3.48 MB / 1.174 GB, free: 21.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.8822, allocations: 285.8 kB / 1.174 GB, free: 21.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.8826, allocations: 206 kB / 1.174 GB, free: 21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.8826, allocations: 7 kB / 1.174 GB, free: 21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.8826, allocations: 37.53 kB / 1.174 GB, free: 20.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.8826, allocations: 1.219 kB / 1.174 GB, free: 20.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.005094/0.8877, allocations: 2.327 MB / 1.176 GB, free: 19.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.8877, allocations: 55.38 kB / 1.176 GB, free: 19.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.8881, allocations: 429.6 kB / 1.177 GB, free: 19.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.8881, allocations: 36.45 kB / 1.177 GB, free: 19.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.8883, allocations: 356.4 kB / 1.177 GB, free: 19.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.8884, allocations: 152.7 kB / 1.177 GB, free: 19.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.8885, allocations: 103.8 kB / 1.177 GB, free: 19.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.8886, allocations: 360.3 kB / 1.178 GB, free: 18.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.8889, allocations: 251 kB / 1.178 GB, free: 18.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.8893, allocations: 410.3 kB / 1.178 GB, free: 18.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.8901, allocations: 0.673 MB / 1.179 GB, free: 18.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8901, allocations: 1.375 kB / 1.179 GB, free: 18.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001558/0.8916, allocations: 0.9106 MB / 1.18 GB, free: 17.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8917, allocations: 9.156 kB / 1.18 GB, free: 17.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8917, allocations: 7.031 kB / 1.18 GB, free: 17.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.8925, allocations: 223.4 kB / 1.18 GB, free: 17.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.893, allocations: 112.5 kB / 1.18 GB, free: 17.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.897, allocations: 4.943 MB / 1.185 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.8975, allocations: 30 kB / 1.185 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.8975, allocations: 27.95 kB / 1.185 GB, free: 13.36 MB / 1.076 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.0003161/0.8979, allocations: 222.5 kB / 1.185 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/0.898, allocations: 58.27 kB / 1.185 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.8994, allocations: 0.7615 MB / 1.186 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8994, allocations: 5 kB / 1.186 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8994, allocations: 5.281 kB / 1.186 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8994, allocations: 7.203 kB / 1.186 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.9017, allocations: 1.313 MB / 1.188 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9017, allocations: 2.656 kB / 1.188 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.902, allocations: 72.28 kB / 1.188 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006595/0.9027, allocations: 210.2 kB / 1.188 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.9027, allocations: 9.312 kB / 1.188 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.9066, allocations: 4.874 MB / 1.193 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9066, allocations: 1.156 kB / 1.193 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.9084, allocations: 1.133 MB / 1.194 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.9086, allocations: 89.55 kB / 1.194 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.9087, allocations: 13.09 kB / 1.194 GB, free: 7.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.909, allocations: 24.12 kB / 1.194 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.9091, allocations: 42.38 kB / 1.194 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.9091, allocations: 21.62 kB / 1.194 GB, free: 7.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003057/0.9094, allocations: 287.8 kB / 1.194 GB, free: 7.125 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9094, allocations: 0 / 1.194 GB, free: 7.125 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007371/0.9102, allocations: 166.5 kB / 1.194 GB, free: 7.109 MB / 1.076 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.0001201/0.9103, allocations: 115.2 kB / 1.194 GB, free: 7.008 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.9118, allocations: 0.9713 MB / 1.195 GB, free: 6.445 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9118, allocations: 1.344 kB / 1.195 GB, free: 6.445 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.9127, allocations: 0.6677 MB / 1.196 GB, free: 5.988 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.9135, allocations: 175.7 kB / 1.196 GB, free: 5.926 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.9153, allocations: 1.261 MB / 1.197 GB, free: 5.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.9157, allocations: 356.2 kB / 1.198 GB, free: 5.074 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.9161, allocations: 116.8 kB / 1.198 GB, free: 5.047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.9162, allocations: 36.12 kB / 1.198 GB, free: 5.035 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.9162, allocations: 0 / 1.198 GB, free: 5.035 MB / 1.076 GB Notification: Performance of Templates: time 0.01748/0.9336, allocations: 9.064 MB / 1.207 GB, free: 4.035 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.986477648024447]