Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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_10_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.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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 67.89 kB / 1.057 GB, free: 2.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3348, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008192/0.343, allocations: 5.622 MB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004723/0.3477, allocations: 2.685 MB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.3481, allocations: 19.88 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.35, allocations: 0.696 MB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.3511, allocations: 421.7 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3522, allocations: 411 kB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3534, allocations: 0.9552 MB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.354, allocations: 378.6 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.3546, allocations: 382.5 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.3552, allocations: 434.3 kB / 1.226 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.3553, allocations: 48 kB / 1.226 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.3561, allocations: 371.2 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.3564, allocations: 251.2 kB / 1.226 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.3568, allocations: 350.3 kB / 1.227 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.358, allocations: 0.9727 MB / 1.228 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.358, allocations: 4 kB / 1.228 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.358, allocations: 0 / 1.228 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.358, allocations: 0 / 1.228 GB, free: 2.992 MB / 0.9669 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.001776/0.3598, allocations: 1 MB / 1.229 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3599, allocations: 8.031 kB / 1.229 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.3613, allocations: 200.2 kB / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.3622, allocations: 0.534 MB / 1.229 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.3622, allocations: 33.38 kB / 1.229 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3624, allocations: 56.55 kB / 1.229 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3637, allocations: 0.8318 MB / 1.23 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.3637, allocations: 4 kB / 1.23 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.3638, allocations: 16 kB / 1.23 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.364, allocations: 72.94 kB / 1.23 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.365, allocations: 0.5696 MB / 1.231 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/0.37, allocations: 4.581 MB / 1.235 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.3705, allocations: 279.3 kB / 1.236 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.3708, allocations: 205.3 kB / 1.236 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3708, allocations: 4.281 kB / 1.236 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3709, allocations: 50.72 kB / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.3709, allocations: 0 / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.006153/0.377, allocations: 2.631 MB / 1.238 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3771, allocations: 55.41 kB / 1.239 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.3776, allocations: 462 kB / 1.239 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.3777, allocations: 37.7 kB / 1.239 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.378, allocations: 352.5 kB / 1.239 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3781, allocations: 150.7 kB / 1.239 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.3783, allocations: 110.2 kB / 1.24 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3785, allocations: 362.8 kB / 1.24 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.3789, allocations: 233 kB / 1.24 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.3794, allocations: 410.4 kB / 1.241 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.3804, allocations: 0.6779 MB / 1.241 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3804, allocations: 4 kB / 1.241 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001843/0.3822, allocations: 0.9171 MB / 1.242 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3823, allocations: 7.984 kB / 1.242 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3823, allocations: 8 kB / 1.242 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/0.3831, allocations: 227 kB / 1.242 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.3837, allocations: 115.8 kB / 1.242 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006022/0.3897, allocations: 5.344 MB / 1.248 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.3902, allocations: 32.03 kB / 1.248 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.3903, allocations: 28 kB / 1.248 GB, free: 13.15 MB / 0.9981 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.0003536/0.3906, allocations: 217.6 kB / 1.248 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3907, allocations: 63.59 kB / 1.248 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.3924, allocations: 0.7694 MB / 1.249 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3924, allocations: 7.984 kB / 1.249 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3924, allocations: 0 / 1.249 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3924, allocations: 0 / 1.249 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3951, allocations: 1.495 MB / 1.25 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3951, allocations: 0 / 1.25 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.3955, allocations: 75.88 kB / 1.25 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.3962, allocations: 202.6 kB / 1.25 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.3963, allocations: 8 kB / 1.25 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.402, allocations: 5.286 MB / 1.256 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.402, allocations: 4 kB / 1.256 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.404, allocations: 1.124 MB / 1.257 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4043, allocations: 168.7 kB / 1.257 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.4044, allocations: 15.92 kB / 1.257 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.4047, allocations: 23.97 kB / 1.257 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4048, allocations: 35.95 kB / 1.257 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4048, allocations: 12.06 kB / 1.257 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003921/0.4052, allocations: 314.9 kB / 1.257 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4052, allocations: 0 / 1.257 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007022/0.4059, allocations: 168 kB / 1.257 GB, free: 2.578 MB / 0.9981 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.0001736/0.4061, allocations: 119.4 kB / 1.258 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.4078, allocations: 0.9849 MB / 1.259 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4079, allocations: 0 / 1.259 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4089, allocations: 0.6682 MB / 1.259 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/0.4098, allocations: 186.9 kB / 1.259 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5858/0.9956, allocations: 1.325 MB / 1.261 GB, free: 47.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.996, allocations: 0.9509 MB / 1.262 GB, free: 47.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.9962, allocations: 40.81 kB / 1.262 GB, free: 47.18 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/0.9962, allocations: 2.625 kB / 1.262 GB, free: 47.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.02647/1.023, allocations: 14.99 MB / 1.276 GB, free: 46.37 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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: 13.828324330039322]