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.001768/0.001768, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002002/0.002002, allocations: 216.9 kB / 22.25 MB, free: 4.852 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 3.331/3.331, allocations: 0.4892 GB / 0.7943 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.00216/0.00216, allocations: 68.53 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008082/0.3663, allocations: 5.276 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005837/0.3721, allocations: 2.603 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.3725, allocations: 35.69 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.3745, allocations: 0.6847 MB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3756, allocations: 421.7 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3767, allocations: 393 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3781, allocations: 0.9556 MB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.3788, allocations: 374.5 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008329/0.3796, allocations: 390.6 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/0.3805, allocations: 406.3 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3806, allocations: 48 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.3814, allocations: 331.3 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.3818, allocations: 255.2 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.3822, allocations: 290.6 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3836, allocations: 0.9767 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3836, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3836, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3836, allocations: 8 kB / 1.339 GB, free: 4.41 MB / 1.029 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.001745/0.3853, allocations: 0.9169 MB / 1.339 GB, free: 3.461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3854, allocations: 8.031 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.3867, allocations: 192.3 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/0.3876, allocations: 459.6 kB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.3877, allocations: 41.36 kB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3879, allocations: 52.56 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.3892, allocations: 0.9824 MB / 1.341 GB, free: 1.598 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.3892, allocations: 15.88 kB / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.3893, allocations: 23.98 kB / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.3895, allocations: 68.95 kB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.3904, allocations: 0.5658 MB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.3946, allocations: 3.492 MB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.3951, allocations: 275.3 kB / 1.345 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.3954, allocations: 213.2 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3955, allocations: 4.281 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3955, allocations: 38.84 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/0.3955, allocations: 0 / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005641/0.4011, allocations: 2.338 MB / 1.348 GB, free: 10.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4012, allocations: 55.41 kB / 1.348 GB, free: 10.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.4017, allocations: 425.7 kB / 1.348 GB, free: 9.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4017, allocations: 33.7 kB / 1.349 GB, free: 9.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.402, allocations: 356.4 kB / 1.349 GB, free: 9.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4021, allocations: 158.7 kB / 1.349 GB, free: 9.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.4023, allocations: 102.3 kB / 1.349 GB, free: 9.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4024, allocations: 362.7 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.4028, allocations: 237.2 kB / 1.35 GB, free: 8.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.4033, allocations: 417.4 kB / 1.35 GB, free: 8.156 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.4043, allocations: 0.67 MB / 1.351 GB, free: 7.414 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4043, allocations: 4 kB / 1.351 GB, free: 7.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001727/0.406, allocations: 0.91 MB / 1.352 GB, free: 6.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.406, allocations: 9.875 kB / 1.352 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4061, allocations: 8 kB / 1.352 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00082/0.4069, allocations: 234.3 kB / 1.352 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.4074, allocations: 115.8 kB / 1.352 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.4128, allocations: 4.942 MB / 1.357 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.4133, allocations: 31.97 kB / 1.357 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.4133, allocations: 20 kB / 1.357 GB, free: 0.8125 MB / 1.045 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.0003362/0.4136, allocations: 218.2 kB / 1.357 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4137, allocations: 59.66 kB / 1.357 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4153, allocations: 0.7541 MB / 1.358 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4153, allocations: 4 kB / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4153, allocations: 0 / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4153, allocations: 11.92 kB / 1.358 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.4178, allocations: 1.323 MB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.4178, allocations: 12.22 kB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4182, allocations: 67.88 kB / 1.359 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000709/0.4189, allocations: 206.3 kB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.419, allocations: 8 kB / 1.359 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.4248, allocations: 4.879 MB / 1.364 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4248, allocations: 4 kB / 1.364 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.4269, allocations: 1.131 MB / 1.365 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4273, allocations: 87.62 kB / 1.365 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.4274, allocations: 12.12 kB / 1.365 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.4278, allocations: 27.97 kB / 1.365 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4279, allocations: 35.88 kB / 1.365 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.428, allocations: 16 kB / 1.365 GB, free: 7.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003744/0.4283, allocations: 283.1 kB / 1.366 GB, free: 7.238 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4283, allocations: 0 / 1.366 GB, free: 7.238 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008223/0.4292, allocations: 172 kB / 1.366 GB, free: 7.07 MB / 1.061 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.0002057/0.4294, allocations: 113.4 kB / 1.366 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.4312, allocations: 0.9691 MB / 1.367 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4312, allocations: 0 / 1.367 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4322, allocations: 0.6681 MB / 1.368 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.4331, allocations: 178.1 kB / 1.368 GB, free: 5.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.4356, allocations: 1.26 MB / 1.369 GB, free: 3.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.436, allocations: 354 kB / 1.369 GB, free: 3.387 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003952/0.4364, allocations: 108.8 kB / 1.369 GB, free: 3.281 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4366, allocations: 35.44 kB / 1.369 GB, free: 3.246 MB / 1.061 GB Notification: Performance of SimCode: time 1.252e-06/0.4366, allocations: 0 / 1.369 GB, free: 3.246 MB / 1.061 GB Notification: Performance of Templates: time 0.01988/0.4564, allocations: 9.831 MB / 1.379 GB, free: 9.621 MB / 1.076 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.548647698014975]